days_ to_ earnings
Calendar days until next earnings announcement. Negative after report.
Facts
A numeric signal: screen on it with a comparison operator (days_to_earnings > 85). It's null on tickers it doesn't apply to.
| definition | Calendar days from today to the next scheduled earnings date. Rounded up. |
| type | numeric |
| unit | days |
| refresh | post-close daily |
| grains | 1d |
| asset classes | US equities |
| coverage | all tickers |
| history | full · since 2003 |
| 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": "days_to_earnings > 85",
"order": "days_to_earnings"
}'Backtest it on a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{
"q": "days_to_earnings > 85",
"asof": "2026-08-25",
"order": "days_to_earnings"
}'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": "days_to_earnings > 85",
"target_url": "https://example.com/hooks/tickerbot"
}'Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.
Its history
curl "https://api.tickerbot.io/v2/tickers/NVDA/history?select=close,days_to_earnings" \
-H "Authorization: Bearer YOUR_KEY"