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

last_20d_high_date

Date the trailing-20-day high was set.

metadata
typedate
cadencepost-close daily
intervals1m/1h/1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "last_20d_high_date IS NOT NULL", "order": "last_20d_high_date", "columns": "last_20d_high_date" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:39:21.467Z",
 "query": {
  "q": "last_20d_high_date IS NOT NULL",
  "limit": 2,
  "order": "last_20d_high_date",
  "dir": "desc",
  "fields": [
   "last_20d_high_date"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "AAPB",
   "name": "GraniteShares ETF Trust GraniteShares 2x Long AAPL Daily ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 43.51,
   "change_1d_pct": -2.392297269407134,
   "gap_pct": 0.7035,
   "relative_volume": 0.1994,
   "market_cap": null,
   "last_20d_high_date": "2026-09-18T00:00:00.000Z"
  },
  {
   "ticker": "AAPE",
   "name": "Leverage Shares 2X Long AAPL Daily ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 16.38,
   "change_1d_pct": -2.3983315954118867,
   "gap_pct": 0.4618,
   "relative_volume": 0.2155,
   "market_cap": null,
   "last_20d_high_date": "2026-09-18T00:00:00.000Z"
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "last_20d_high_date IS NOT NULL", "order": "last_20d_high_date", "columns": "last_20d_high_date", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "last_20d_high_date IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "last_20d_high_date",
  "dir": "desc",
  "fields": [
   "last_20d_high_date"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "AAAD",
   "name": "PGIM AAA CLO Aggregate Duration ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 50.1439,
   "change_1d_pct": 0.20663262757166814,
   "gap_pct": 0.4186608846834034,
   "relative_volume": null,
   "market_cap": null,
   "last_20d_high_date": "2026-06-18T00:00:00.000Z"
  },
  {
   "ticker": "ABNG",
   "name": "Leverage Shares 2x Long ABNB Daily ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 17.9446,
   "change_1d_pct": 2.5939202671103336,
   "gap_pct": 1.081133618052815,
   "relative_volume": 0.49824642763977856,
   "market_cap": null,
   "last_20d_high_date": "2026-06-18T00:00:00.000Z"
  }
 ]
}

Its history /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,last_20d_high_date" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:39:24.153Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "last_20d_high_date"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "last_20d_high_date": "2026-09-11T00:00:00.000Z"
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "last_20d_high_date": "2026-09-11T00:00:00.000Z"
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "last_20d_high_date": "2026-09-17T00:00:00.000Z"
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "last_20d_high_date": "2026-08-28T00:00:00.000Z"
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "last_20d_high_date": "2026-08-28T00:00:00.000Z"
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "last_20d_high_date": "2026-08-28T00:00:00.000Z"
   }
  ]
 }
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Highs & lows