# days_since_52w_high

Trading days since the most recent 52-week high.

A integer 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: integer
- Unit: days
- 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 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 days_since_52w_high above a cutoff

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

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

```json
{
 "as_of": "2026-08-18T00:23:20.706Z",
 "signal": "days_since_52w_high",
 "condition": "> 634",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "GTM",
   "name": "ZoomInfo Technologies Inc Common Stock",
   "value": 7992
  },
  {
   "ticker": "FFF",
   "name": "Founders 100 ETF",
   "value": 7833
  }
 ]
}
```

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

```bash
curl -G "https://api.tickerbot.io/v2/signals/days_since_52w_high" \
  --data-urlencode "condition=> 634" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-05-20",
 "signal": "days_since_52w_high",
 "condition": "> 634",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BVC",
   "name": "BitVentures Limited Ordinary Shares",
   "value": 7327
  },
  {
   "ticker": "NBP",
   "name": "NovaBridge Biosciences American Depositary Shares",
   "value": 7315
  }
 ]
}
```

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

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/days_since_52w_high/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 634", "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=days_since_52w_high IS NOT NULL" \
  -d "order=days_since_52w_high" -d "columns=days_since_52w_high" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:23:23.565Z",
 "query": {
  "q": "days_since_52w_high IS NOT NULL",
  "limit": 2,
  "order": "days_since_52w_high",
  "dir": "desc",
  "fields": [
   "days_since_52w_high"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "GTM",
   "name": "ZoomInfo Technologies Inc Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 3.77,
   "day_change_pct": -0.0691,
   "gap_pct": -0.0099,
   "relative_volume": null,
   "market_cap": 1178995686,
   "days_since_52w_high": 7992
  },
  {
   "ticker": "FFF",
   "name": "Founders 100 ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 26.405,
   "day_change_pct": -0.0129,
   "gap_pct": 0.0003,
   "relative_volume": null,
   "market_cap": null,
   "days_since_52w_high": 7833
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "days_since_52w_high IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "days_since_52w_high",
  "dir": "desc",
  "fields": [
   "days_since_52w_high"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BVC",
   "name": "BitVentures Limited Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 10.67,
   "day_change_pct": 8.215010141987836,
   "gap_pct": 8.519269776876266,
   "relative_volume": 0.38966544589550045,
   "market_cap": null,
   "days_since_52w_high": 7327
  },
  {
   "ticker": "NBP",
   "name": "NovaBridge Biosciences American Depositary Shares",
   "asset_class": "stocks",
   "asset_type": "ADRC",
   "price": 1.76,
   "day_change_pct": 4.761904761904766,
   "gap_pct": 4.1666666666666705,
   "relative_volume": 1.0590800190739713,
   "market_cap": null,
   "days_since_52w_high": 7315
  }
 ]
}
```

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

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

### 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,days_since_52w_high" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:23:25.747Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "days_since_52w_high"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "days_since_52w_high": 14
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "days_since_52w_high": 15
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "days_since_52w_high": 16
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "days_since_52w_high": 288
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "days_since_52w_high": 289
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "days_since_52w_high": 290
   }
  ]
 }
}
```

## 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_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)
- [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=days_since_52w_high · HTML: https://tickerbot.io/docs/signals/days_since_52w_high/
