tickerbot.io
Data › Signals › Price › Highs & lows

days_since_52w_high

Calendar days since the most recent 52-week high.

Facts

A numeric signal: screen on it with a comparison operator (days_since_52w_high > 370). It's null on tickers it doesn't apply to.

definitionD − high_52w_date in calendar days, where D is the session date. 0 on the day of a new high.
typenumeric
unitdays
refreshpost-close daily · 8:05 PM ET
grains1m 1h 1d
asset classesUS equities, Crypto, FX
coverageall tickers
history1d full · since 2003; 1h full · since 2004; 1m full · since 2004
nullableyes

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_since_52w_high > 370",
    "order": "days_since_52w_high"
  }'

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_since_52w_high > 370",
    "asof": "2026-08-17",
    "order": "days_since_52w_high"
  }'

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_since_52w_high > 370",
    "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_since_52w_high" \
  -H "Authorization: Bearer YOUR_KEY"