high_ 20d
Highest trade in the trailing 20 trading days.
Facts
A numeric signal: screen on it with a comparison operator (high_20d > 480). It's null on tickers it doesn't apply to.
| definition | Highest high of the last 20 daily bars. Live, today's bar is the session so far. |
| type | numeric |
| unit | USD |
| refresh | post-close daily · 8:05 PM ET |
| 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 |
| nullable | yes |
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": "high_20d > 480",
"order": "high_20d"
}'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": "high_20d > 480",
"asof": "2026-08-17",
"order": "high_20d"
}'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": "high_20d > 480",
"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,high_20d" \
-H "Authorization: Bearer YOUR_KEY"