# last_20d_high_date

Date the trailing-20-day high was set.

A date signal column on the Tickerbot computed state table (20,798+ ticker rows) — computed by the platform, queryable by bare name across the API. Values are NULL on rows the signal doesn't apply to.

- Group: Price
- Category: Highs & lows
- Type: date
- Update cadence: post-close daily
- Intervals: 1m/1h/1d
- Universe: all tickers
- History: full · since 2003
- Nullable: yes

## Query it

Every applicable form factor, grouped by endpoint family. Response payloads are real captures, sampled 2026-08-18 and trimmed; your run's values and dates will differ.

### Use scan — `/v2/scan`

The whole market through a WHERE clause — this signal composed freely with any other column. (https://tickerbot.io/docs/endpoints/scan.md)

#### Live — the whole market, ranked by this column

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=last_20d_high_date IS NOT NULL" \
  -d "order=last_20d_high_date" -d "columns=last_20d_high_date" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-08-18T00:24:21.023Z",
 "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": "AAAA",
   "name": "Amplius Aggressive Asset Allocation ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 30.97,
   "day_change_pct": 0.0001,
   "gap_pct": 0.0004,
   "relative_volume": null,
   "market_cap": null,
   "last_20d_high_date": "2026-08-17T00:00:00.000Z"
  },
  {
   "ticker": "AACO",
   "name": "Abony Acquisition Corp. I Class A Ordinary Share",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 9.966,
   "day_change_pct": 0.0006,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": 312362203,
   "last_20d_high_date": "2026-08-17T00:00:00.000Z"
  }
 ]
}
```

#### As-of — the same scan at a past date

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=last_20d_high_date IS NOT NULL" \
  -d "order=last_20d_high_date" -d "columns=last_20d_high_date" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "last_20d_high_date IS NOT NULL",
  "asof": "2026-05-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": "AACI",
   "name": "Armada Acquisition Corp. III Class A Ordinary Share",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 9.95,
   "day_change_pct": 0.30140825193294013,
   "gap_pct": 0.7046299936492628,
   "relative_volume": 0.5709102291664829,
   "market_cap": null,
   "last_20d_high_date": "2026-05-20T00:00:00.000Z"
  },
  {
   "ticker": "AAT",
   "name": "AMERICAN ASSETS TRUST, INC.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 21.76,
   "day_change_pct": 2.3037141513869392,
   "gap_pct": -0.37611659614479687,
   "relative_volume": 1.277156847967895,
   "market_cap": 1669601650,
   "last_20d_high_date": "2026-05-20T00:00:00.000Z"
  }
 ]
}
```

### Use series — `/v2/series`

Its history over time, on one aligned grid. (https://tickerbot.io/docs/endpoints/series.md)

#### History — the column on an aligned time grid

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

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-08-18T00:24:23.008Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "last_20d_high_date"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "last_20d_high_date": "2026-07-29T00:00:00.000Z"
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "last_20d_high_date": "2026-07-29T00:00:00.000Z"
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "last_20d_high_date": "2026-07-29T00:00:00.000Z"
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "last_20d_high_date": "2026-08-10T00:00:00.000Z"
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "last_20d_high_date": "2026-08-10T00:00:00.000Z"
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "last_20d_high_date": "2026-08-10T00:00:00.000Z"
   }
  ]
 }
}
```

## Related signals (Highs & lows)

- [52_week_high](https://tickerbot.io/docs/signals/52_week_high.md)
- [52_week_low](https://tickerbot.io/docs/signals/52_week_low.md)
- [approaching_52w_high](https://tickerbot.io/docs/signals/approaching_52w_high.md)
- [approaching_52w_low](https://tickerbot.io/docs/signals/approaching_52w_low.md)
- [at_20d_high](https://tickerbot.io/docs/signals/at_20d_high.md)
- [at_20d_low](https://tickerbot.io/docs/signals/at_20d_low.md)
- [at_52w_high](https://tickerbot.io/docs/signals/at_52w_high.md)
- [at_52w_low](https://tickerbot.io/docs/signals/at_52w_low.md)
- [breaking_above_20d_high](https://tickerbot.io/docs/signals/breaking_above_20d_high.md)
- [breaking_below_20d_low](https://tickerbot.io/docs/signals/breaking_below_20d_low.md)
- [days_since_52w_high](https://tickerbot.io/docs/signals/days_since_52w_high.md)
- [days_since_52w_low](https://tickerbot.io/docs/signals/days_since_52w_low.md)
- [high_20d](https://tickerbot.io/docs/signals/high_20d.md)
- [high_20d_eod](https://tickerbot.io/docs/signals/high_20d_eod.md)
- [high_52w](https://tickerbot.io/docs/signals/high_52w.md)

---

Full catalog: https://tickerbot.io/docs/signals.md · Schema: https://tickerbot.io/docs/schema.md · Interactive: https://tickerbot.io/explore?signal=last_20d_high_date · HTML: https://tickerbot.io/docs/signals/last_20d_high_date/
