Widgets
Embed ready-made SignalWise components in your web or mobile app.
Widgets are the fastest way to show alerts and reasoning to your users. They are served from embedded.bridgewise.com and embedded with an iframe (web) or a WebView (mobile).
Embed a widget
<iframe
src="https://embedded.bridgewise.com/en-US/<tenant>/stock-alerts-reasoning?identifier=AAPL-NASDAQ&accessToken=<token>&mode=light"
width="100%"
height="480"
style="border: 0"
></iframe>| URL part | Meaning |
|---|---|
en-US | Language |
<tenant> | Your tenant name, given by Bridgewise |
stock-alerts-reasoning | The widget to display |
identifier | The asset: ticker and exchange (for example AAPL-NASDAQ) or a Bridgewise ID |
accessToken | A token from the REST API, generated by your backend |
mode | light or dark |
Available widgets
| Widget | Shows |
|---|---|
stock-alerts-reasoning | Alerts and reasoning for a stock |
fund-alerts-reasoning | Alerts and reasoning for an ETF or fund |
alt-alerts-reasoning | Alerts and reasoning for crypto, forex and commodities |
| Latest Market Events | A feed of recent alerts with reasoning, by asset type |
| Self-service subscription | Lets users subscribe and choose the assets they follow. See Self-service subscriptions. |
Styling
- Light and dark mode
- Transparent background, so the widget inherits your page background
- Your own font and colors (text, surface, interactive, positive and negative colors)
- An optional "Trade now" link to your own trading screen
Behavior
- If the asset has no recent alert, the widget is not displayed.
- Events let your page react to the widget:
onSuccess,onError,onCompanySelect.
Keep your token on the server
Generate the access token on your backend and pass it to the widget. Never expose your client secret in the browser.