← tickerbot.io
View as markdown

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.

definition
days_to_earnings BETWEEN 1 AND 7 AND ABS(change_1w_pct) >= 5

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker where it fires now
curl "https://api.tickerbot.io/v2/signals/pre_earnings_drift" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:40:32.053Z",
 "signal": "pre_earnings_drift",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "ABVX",
   "name": "Abivax SA American Depositary Shares",
   "value": true
  },
  {
   "ticker": "AIR",
   "name": "AAR Corp.",
   "value": true
  }
 ]
}
As-of — the same read at a past date
curl "https://api.tickerbot.io/v2/signals/pre_earnings_drift?asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "pre_earnings_drift",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AVAV",
   "name": "AeroVironment, Inc.",
   "value": true
  },
  {
   "ticker": "AYI",
   "name": "Acuity Inc.",
   "value": true
  }
 ]
}
Subscribe — webhook when a ticker starts matching
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.

The whole market, filtered on it /v2/scan

Live — the whole market, filtered on this signal
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "pre_earnings_drift" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:40:33.512Z",
 "query": {
  "q": "pre_earnings_drift",
  "limit": 2,
  "order": "change_1d_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "OPTT",
   "name": "Ocean Power Technologies, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 2.066,
   "change_1d_pct": 7.046632124352327,
   "gap_pct": -0.5181,
   "relative_volume": 0.4804,
   "market_cap": 16388422
  },
  {
   "ticker": "CBRL",
   "name": "Cracker Barrel Old Country Store, Inc,.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 44.42,
   "change_1d_pct": 1.508226691042056,
   "gap_pct": -0.1371,
   "relative_volume": 0.2284,
   "market_cap": 966030101
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "pre_earnings_drift", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "pre_earnings_drift",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "change_1d_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "IHT",
   "name": "InnSuites Hospitality Trust",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 1.62,
   "change_1d_pct": 16.546762589928075,
   "gap_pct": 7.913669064748209,
   "relative_volume": 29.41356028001206,
   "market_cap": 14597363
  },
  {
   "ticker": "POWW",
   "name": "Outdoor Holding Company Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 2.14,
   "change_1d_pct": 10.309278350515473,
   "gap_pct": 2.061855670103095,
   "relative_volume": 2.7789856015098393,
   "market_cap": 251762272
  }
 ]
}
Subscribe — webhook on a market-wide condition
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.

Its history /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,pre_earnings_drift" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:40:38.504Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "pre_earnings_drift"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "pre_earnings_drift": false
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "pre_earnings_drift": false
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "pre_earnings_drift": false
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "pre_earnings_drift": false
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "pre_earnings_drift": false
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "pre_earnings_drift": false
   }
  ]
 }
}

Its firings /v2/events

Firings — every enter edge as a point event
curl -G "https://api.tickerbot.io/v2/events" \
  -d "kind=signal" -d "signal=pre_earnings_drift" -d "transition=enter" -d "from=2026-02-24" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:40:38.725Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-02-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "pre_earnings_drift",
  "transition": "enter"
 },
 "count": 0,
 "results": []
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Intraday momentum