tickerbot.io

price_source

Where the price came from.

Facts

A string signal: screen on it with = or IN (price_source = 'previous_close'). It's null on tickers it doesn't apply to.

definitionfair_value | minute_bar | trade | quote | day_bar | previous_close on stocks and ETFs; exchange_rate | minute_bar on crypto, FX and metals; published_rate on rates. The time of that data is price_asof. Live only: in history, price is the bar's close.
typestring
refresh1 min · 4 AM–8 PM ET · crypto and FX 24/7
asset classesUS equities, Rates, Crypto, FX
coverageall tickers
historylive value only
nullableyes

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": "price_source = '"'"'previous_close'"'"'"
  }'

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": "price_source = '"'"'previous_close'"'"'",
    "target_url": "https://example.com/hooks/tickerbot"
  }'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.