# high_20d_eod

Highest close over the last 20 trading sessions. Close-basis. For the intraday-wick variant use `at_20d_high`.

A numeric 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: numeric
- Unit: USD
- Update cadence: post-close daily
- Universe: all tickers
- History: none — live row only, not historized (no as-of reads for this column)
- 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 signals — `/v2/signals/{signal}`

One signal across the market: who matches now, who matched then, and a push when someone starts. (https://tickerbot.io/docs/endpoints/signals.md)

#### Live — every ticker with high_20d_eod above a cutoff

```bash
curl -G "https://api.tickerbot.io/v2/signals/high_20d_eod" \
  --data-urlencode "condition=> 489.35" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:24:05.218Z",
 "signal": "high_20d_eod",
 "condition": "> 489.35",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 806102.81
  },
  {
   "ticker": "NVR",
   "name": "NVR, Inc.",
   "value": 6574.99
  }
 ]
}
```

#### Subscribe — webhook when a ticker starts matching

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/high_20d_eod/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 489.35", "target_url": "https://example.com/hooks/tickerbot"}'
```

Returns 201 with the created webhook — the same shape as GET /v2/webhooks/{id}, plus a one-time signing_secret for HMAC verification.

### 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=high_20d_eod IS NOT NULL" \
  -d "order=high_20d_eod" -d "columns=high_20d_eod" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:24:05.543Z",
 "query": {
  "q": "high_20d_eod IS NOT NULL",
  "limit": 2,
  "order": "high_20d_eod",
  "dir": "desc",
  "fields": [
   "high_20d_eod"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 747658.72,
   "day_change_pct": -0.0105,
   "gap_pct": 0,
   "relative_volume": null,
   "market_cap": 1078304184071,
   "high_20d_eod": 806102.81
  },
  {
   "ticker": "NVR",
   "name": "NVR, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 6241,
   "day_change_pct": -0.0106,
   "gap_pct": -0.0037,
   "relative_volume": null,
   "market_cap": 16809750339,
   "high_20d_eod": 6574.99
  }
 ]
}
```

#### Subscribe — webhook on a market-wide condition

```bash
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 > 489.35", "target_url": "https://example.com/hooks/tickerbot"}'
```

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

## 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_52w](https://tickerbot.io/docs/signals/high_52w.md)
- [high_52w_date](https://tickerbot.io/docs/signals/high_52w_date.md)

---

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