asset_ class
Asset class of the ticker: stocks, rates, crypto or fx.
Facts
A string signal: screen on it with = or IN (asset_class = 'crypto'). It's null on tickers it doesn't apply to.
| type | string |
| allowed values | stocks, rates, fx, crypto |
| refresh | static |
| asset classes | US equities, Rates, Crypto, FX |
| coverage | all tickers |
| history | today's value (frozen in as-of reads) |
Examples
Screen on it
curl -X POST "https://api.tickerbot.io/v2/scan" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{
"q": "asset_class = '"'"'crypto'"'"'"
}'Get an alert when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{
"q": "asset_class = '"'"'crypto'"'"'",
"target_url": "https://example.com/hooks/tickerbot"
}'Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.