← tickerbot.io
View as markdown
Concepts › Signals › Price › Highs & lows

days_since_52w_high

Trading days since the most recent 52-week high.

metadata
typeinteger
unitdays
cadencepost-close daily
intervals1m/1h/1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

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 with days_since_52w_high above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/days_since_52w_high" \
  --data-urlencode "condition=> 367" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:07.094Z",
 "signal": "days_since_52w_high",
 "condition": "> 367",
 "universe": null,
 "count": 1,
 "results": [
  {
   "ticker": "KIDZW",
   "name": "KIDZ AI Inc. Warrants",
   "value": 368
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/days_since_52w_high" \
  --data-urlencode "condition=> 367" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "days_since_52w_high",
 "condition": "> 367",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "HLLY.WS",
   "name": "Holley Inc. Redeemable Warrants, each whole warrant exercisable for one share of Common Stock at an exercise price of $11.50",
   "value": 646
  },
  {
   "ticker": "LANV.WS",
   "name": "Lanvin Group Holdings Limited Redeemable Warrants, each whole warrant exercisable for one Ordinary Share at an exercise price of $11.50",
   "value": 545
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/days_since_52w_high/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 367", "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, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "days_since_52w_high IS NOT NULL", "order": "days_since_52w_high", "columns": "days_since_52w_high" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:10.157Z",
 "query": {
  "q": "days_since_52w_high IS NOT NULL",
  "limit": 2,
  "order": "days_since_52w_high",
  "dir": "desc",
  "fields": [
   "days_since_52w_high"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "KIDZW",
   "name": "KIDZ AI Inc. Warrants",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 0.0082,
   "change_1d_pct": null,
   "gap_pct": null,
   "relative_volume": 5.7275,
   "market_cap": null,
   "days_since_52w_high": 368
  },
  {
   "ticker": "AFCG",
   "name": "Advanced Flower Capital Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 3.469,
   "change_1d_pct": -0.028818443804044205,
   "gap_pct": -0.5764,
   "relative_volume": 0.0598,
   "market_cap": 77966579,
   "days_since_52w_high": 367
  }
 ]
}
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": "days_since_52w_high IS NOT NULL", "order": "days_since_52w_high", "columns": "days_since_52w_high", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "days_since_52w_high IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "days_since_52w_high",
  "dir": "desc",
  "fields": [
   "days_since_52w_high"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "HLLY.WS",
   "name": "Holley Inc. Redeemable Warrants, each whole warrant exercisable for one share of Common Stock at an exercise price of $11.50",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 0.0448,
   "change_1d_pct": null,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": 5349385,
   "days_since_52w_high": 646
  },
  {
   "ticker": "LANV.WS",
   "name": "Lanvin Group Holdings Limited Redeemable Warrants, each whole warrant exercisable for one Ordinary Share at an exercise price of $11.50",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 0.0146,
   "change_1d_pct": 0.0319,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": 1710069,
   "days_since_52w_high": 545
  }
 ]
}
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": "days_since_52w_high > 367", "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,days_since_52w_high" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:13.127Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "days_since_52w_high"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "days_since_52w_high": 48
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "days_since_52w_high": 49
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "days_since_52w_high": 50
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "days_since_52w_high": 322
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "days_since_52w_high": 323
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "days_since_52w_high": 324
   }
  ]
 }
}

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

Related signals — Highs & lows