pre_earnings_drift
Stock has moved ≥5% (absolute) over the trailing week with earnings within 7 days — a setup the literature shows often continues through the report.
At a glance
days_to_earnings BETWEEN 1 AND 7 AND ABS(change_1w) >= 0.05| Type | state (boolean) |
| Group | Price action |
| Category | Intraday momentum |
| Update cadence | post-close daily |
| Intervals | 1d |
| Universe | all tickers |
| History | historized — has never fired to date |
| Firing | continuous |
Directional strength read straight off the session's bars: drives, drifts, spikes, rallies, exhaustion.
Query it
Every applicable form factor, grouped by endpoint family. Swap YOUR_KEY for the value from /dashboard/keys. Response payloads are real captures, sampled 2026-08-18 and trimmed — your run's values and dates will differ.
Use signals /v2/signals/{signal}
One signal across the market: who matches now, who matched then, and a push when someone starts. Docs →
curl "https://api.tickerbot.io/v2/signals/pre_earnings_drift" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:15.184Z",
"signal": "pre_earnings_drift",
"condition": null,
"universe": null,
"count": 2,
"results": [
{
"ticker": "AACG",
"name": "ATA Creativity Global American Depositary Shares",
"value": true
},
{
"ticker": "AIDX",
"name": "20/20 Biolabs, Inc. Common Stock",
"value": true
}
]
}curl "https://api.tickerbot.io/v2/signals/pre_earnings_drift?asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"signal": "pre_earnings_drift",
"condition": null,
"universe": null,
"count": 0,
"results": []
}curl -X POST "https://api.tickerbot.io/v2/signals/pre_earnings_drift/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"target_url": "https://example.com/hooks/tickerbot"}'Returns 201 with the created webhook — the same shape as GET /v2/webhooks/{id}, plus a one-time signing_secret for HMAC verification.
Use scan /v2/scan
The whole market through a WHERE clause — this signal composed freely with any other column. Docs →
curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=pre_earnings_drift" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:19.416Z",
"query": {
"q": "pre_earnings_drift",
"limit": 2,
"order": "day_change_pct",
"dir": "desc",
"fields": [],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "TRUG",
"name": "TruGolf Holdings, Inc. Class A Common Stock",
"asset_class": "stocks",
"asset_type": "CS",
"price": 1.664,
"day_change_pct": 0.7163,
"gap_pct": 0.6297,
"relative_volume": 9.9149,
"market_cap": 1079709
},
{
"ticker": "UFI",
"name": "UNIFI, Inc. New",
"asset_class": "stocks",
"asset_type": "CS",
"price": 8.055,
"day_change_pct": 0.2488,
"gap_pct": 0.0946,
"relative_volume": 4.6212,
"market_cap": 119887788
}
]
}curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=pre_earnings_drift" \
-d "asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"query": {
"q": "pre_earnings_drift",
"asof": "2026-05-20",
"interval": "auto",
"limit": 2,
"order": "day_change_pct",
"dir": "desc",
"fields": [],
"full": false,
"universe": null,
"asset_class": null
},
"count": 0,
"results": []
}curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"q": "pre_earnings_drift", "target_url": "https://example.com/hooks/tickerbot"}'Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.
Use series /v2/series
Its history over time, on one aligned grid. Docs →
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,pre_earnings_drift" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:22.316Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"pre_earnings_drift"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-08-12",
"close": 302.25,
"pre_earnings_drift": false
},
{
"t": "2026-08-13",
"close": 305.26,
"pre_earnings_drift": false
},
{
"t": "2026-08-14",
"close": 305.93,
"pre_earnings_drift": false
}
],
"MSFT": [
{
"t": "2026-08-12",
"close": 492.43,
"pre_earnings_drift": false
},
{
"t": "2026-08-13",
"close": 496.88,
"pre_earnings_drift": false
},
{
"t": "2026-08-14",
"close": 495.4,
"pre_earnings_drift": false
}
]
}
}Use events /v2/events
The flag as a timeline: each edge as a point event, and the spans it stayed true. Docs →
curl -G "https://api.tickerbot.io/v2/events" \
-d "kind=signal" -d "signal=pre_earnings_drift" -d "transition=enter" -d "since=2026-01-10" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:22.519Z",
"query": {
"kind": "signal",
"tickers": null,
"universe": null,
"since": "2026-01-10T00:00:00.000Z",
"until": null,
"limit": 2,
"signal": "pre_earnings_drift",
"transition": "enter"
},
"count": 0,
"results": []
}curl "https://api.tickerbot.io/v2/signals/pre_earnings_drift/AAPL/events" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:22.662Z",
"ticker": "AAPL",
"signal": "pre_earnings_drift",
"count": 0,
"events": []
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.