at_ 20d_ high
Price is at or above the 20-day high as of the previous close.
Facts
A boolean signal: screen on it by its bare name (at_20d_high, or NOT at_20d_high). It's null on tickers it doesn't apply to.
| definition | price >= the 20-day high as of the previous session's close (high_20d_eod during the session; on daily history, the previous day's high_20d) |
| type | state (boolean) |
| firing | continuous |
| refresh | 1 min · 4 AM–8 PM ET · crypto and FX 24/7 |
| grains | 1m 1h 1d |
| asset classes | US equities, Crypto, FX |
| coverage | all tickers |
| history | 1d full · since 2003; 1h full · since 2003; 1m full · since 2003 |
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": "at_20d_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": "at_20d_high",
"asof": "2026-08-17"
}'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": "at_20d_high",
"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,at_20d_high" \
-H "Authorization: Bearer YOUR_KEY"Its firings
curl -G "https://api.tickerbot.io/v2/events" \
-d "kind=signal" -d "from=2026-04-09" -d "signal=at_20d_high" -d "transition=enter" \
-H "Authorization: Bearer YOUR_KEY"