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

approaching_52w_high

Price is within 5% of the 52-week high.

definition
close >= high_52w * 0.95 AND close < high_52w AND (close > sma_20 AND close > sma_50, OR >= 3 of last 5 days up) AND volume > avg_volume_10d

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

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker where it fires now
curl "https://api.tickerbot.io/v2/signals/approaching_52w_high" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:37:26.604Z",
 "signal": "approaching_52w_high",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "APOC",
   "name": "Innovator Equity Defined Protection ETF - 6mo Apr/Oct",
   "value": true
  },
  {
   "ticker": "APXM",
   "name": "FT Vest U.S. Equity Max Buffer ETF - April",
   "value": true
  }
 ]
}
As-of — the same read at a past date
curl "https://api.tickerbot.io/v2/signals/approaching_52w_high?asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "approaching_52w_high",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AAA",
   "name": "Alternative Access First Priority CLO Bond ETF",
   "value": true
  },
  {
   "ticker": "AAAA",
   "name": "Amplius Aggressive Asset Allocation ETF",
   "value": true
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/approaching_52w_high/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"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.

The whole market, filtered on it /v2/scan

Live — the whole market, filtered on this signal
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "approaching_52w_high" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:37:27.219Z",
 "query": {
  "q": "approaching_52w_high",
  "limit": 2,
  "order": "change_1d_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BIOT",
   "name": "Instinct Bio Technical Company Holdings Inc. Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 0.509,
   "change_1d_pct": 13.236929922135706,
   "gap_pct": 3.6707,
   "relative_volume": 5.9319,
   "market_cap": 11198170
  },
  {
   "ticker": "BTDL",
   "name": "GraniteShares 2x Long BTDR Daily ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 17.63,
   "change_1d_pct": 12.847888982768769,
   "gap_pct": 4.9748,
   "relative_volume": 1.5401,
   "market_cap": null
  }
 ]
}
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": "approaching_52w_high", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "approaching_52w_high",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "change_1d_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BFLY",
   "name": "Butterfly Network, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 8.9,
   "change_1d_pct": 55.86690017513135,
   "gap_pct": 26.26970227670753,
   "relative_volume": 9.218011777885572,
   "market_cap": 2240554064
  },
  {
   "ticker": "BEX",
   "name": "Tradr 2X Long BE Daily ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 76.58,
   "change_1d_pct": 31.13013698630137,
   "gap_pct": 9.212328767123292,
   "relative_volume": 1.3206129128282853,
   "market_cap": null
  }
 ]
}
Subscribe — webhook on a market-wide condition
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "approaching_52w_high", "target_url": "https://example.com/hooks/tickerbot"}'

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

Its history /v2/series

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

Its firings /v2/events

Firings — every enter edge as a point event
curl -G "https://api.tickerbot.io/v2/events" \
  -d "kind=signal" -d "signal=approaching_52w_high" -d "transition=enter" -d "from=2026-02-24" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:37:30.214Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-02-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "approaching_52w_high",
  "transition": "enter"
 },
 "count": 2,
 "results": [
  {
   "ticker": "KBON",
   "ts": "2026-09-18T14:36:14.292Z",
   "kind": "signal",
   "payload": {
    "signal": "approaching_52w_high",
    "transition": "enter",
    "price": 10.113,
    "definition_version": 6
   }
  },
  {
   "ticker": "HALO",
   "ts": "2026-09-18T14:35:16.162Z",
   "kind": "signal",
   "payload": {
    "signal": "approaching_52w_high",
    "transition": "enter",
    "price": 110.815,
    "definition_version": 6
   }
  }
 ]
}

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

Related signals — Highs & lows