tickerbot.io

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.

typestring
allowed valuesstocks, rates, fx, crypto
refreshstatic
asset classesUS equities, Rates, Crypto, FX
coverageall tickers
historytoday'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.