high_ 20d_ eod
Highest close over the last 20 trading sessions. Close-basis. For the intraday-wick variant use at_20d_high.
Facts
A numeric signal: screen on it with a comparison operator (high_20d_eod > 480). It's null on tickers it doesn't apply to.
| definition | Highest high of the last 20 completed daily bars. Computed after each close; does not update intraday. |
| type | numeric |
| unit | USD |
| refresh | post-close daily · 8:05 PM ET |
| asset classes | US equities, Crypto, FX |
| coverage | all tickers |
| history | live value only |
| 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_eod > 480",
"order": "high_20d_eod"
}'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_eod > 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.