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

from_52w_high_pct

Percent distance from the 52-week high, as a whole percent. Signed: negative below the high (−27 = 27% under it), 0 at it, positive only on a new high before the window updates. Use the at_52w_high boolean to test highs. Was pct_from_52w_high as a fraction before the 2026-09-07 cutover.

Facts

typenumeric
cadence1 min · 4 AM–8 PM ET
intervals1m 1h 1d
universeall tickers
historyfull · since 2003

This signal

Swap YOUR_KEY for a key from /dashboard/keys.

Live

curl -G "https://api.tickerbot.io/v2/signals/from_52w_high_pct" \
  --data-urlencode "condition=> 19.160138692692932" \
  -H "Authorization: Bearer YOUR_KEY"

As of a past date

curl -G "https://api.tickerbot.io/v2/signals/from_52w_high_pct" \
  --data-urlencode "condition=> 19.160138692692932" \
  -d "asof=2026-07-25" \
  -H "Authorization: Bearer YOUR_KEY"

Webhook

curl -X POST "https://api.tickerbot.io/v2/signals/from_52w_high_pct/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 19.160138692692932", "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.

In a scan

Live

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_52w_high_pct IS NOT NULL", "order": "from_52w_high_pct", "columns": "from_52w_high_pct" }'

As of a past date

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_52w_high_pct IS NOT NULL", "order": "from_52w_high_pct", "columns": "from_52w_high_pct", "asof": "2026-07-25" }'

Webhook

curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "from_52w_high_pct > 19.160138692692932", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

Over time

History

curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,from_52w_high_pct" \
  -H "Authorization: Bearer YOUR_KEY"