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.
| definition | fair_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. |
| type | string |
| refresh | 1 min · 4 AM–8 PM ET · crypto and FX 24/7 |
| asset classes | US equities, Rates, Crypto, FX |
| coverage | all tickers |
| history | live value only |
| nullable | yes |
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.