← tickerbot.io
View as markdown

pullback

Pullback to the 20-day moving average within an uptrend.

definition
in_uptrend (sma_50 > sma_200 AND price > sma_200) AND price below the 20-day or 50-day SMA by < 2% AND price down >= 2% from the 5-day high. Live evaluation at minute resolution.

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/pullback" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:05.247Z",
 "signal": "pullback",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AAT",
   "name": "AMERICAN ASSETS TRUST, INC.",
   "value": true
  },
  {
   "ticker": "ABEV",
   "name": "AMBEV S.A.",
   "value": true
  }
 ]
}
As-of — the same read at a past date
curl "https://api.tickerbot.io/v2/signals/pullback?asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "pullback",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AAUC",
   "name": "Allied Gold Corporation",
   "value": true
  },
  {
   "ticker": "ABEV",
   "name": "AMBEV S.A.",
   "value": true
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/pullback/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": "pullback" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:06.302Z",
 "query": {
  "q": "pullback",
  "limit": 2,
  "order": "change_1d_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BULL",
   "name": "Webull Corporation Class A Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 8.145,
   "change_1d_pct": 5.642023346303497,
   "gap_pct": 1.8158,
   "relative_volume": 0.3463,
   "market_cap": 4149680876
  },
  {
   "ticker": "CVU",
   "name": "CPI Aerostructures, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 5.178,
   "change_1d_pct": 2.942345924453274,
   "gap_pct": 1.1928,
   "relative_volume": 0.1372,
   "market_cap": 66248670
  }
 ]
}
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": "pullback", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "pullback",
  "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": "SMUP",
   "name": "T-REX 2X Long SMR Daily Target ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 9.11,
   "change_1d_pct": 25.482093663911844,
   "gap_pct": 3.8567493112947693,
   "relative_volume": 2.631332697909899,
   "market_cap": null
  },
  {
   "ticker": "NKTX",
   "name": "Nkarta, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 2.86,
   "change_1d_pct": 8.333333333333323,
   "gap_pct": 2.651515151515145,
   "relative_volume": 0.9879832688766583,
   "market_cap": 209859579
  }
 ]
}
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": "pullback", "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,pullback" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:10.317Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "pullback"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "pullback": false
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "pullback": false
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "pullback": false
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "pullback": false
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "pullback": true
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "pullback": true
   }
  ]
 }
}

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=pullback" -d "transition=enter" -d "from=2026-02-24" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:10.495Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-02-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "pullback",
  "transition": "enter"
 },
 "count": 2,
 "results": [
  {
   "ticker": "YORW",
   "ts": "2026-09-18T14:40:17.564Z",
   "kind": "signal",
   "payload": {
    "signal": "pullback",
    "transition": "enter",
    "price": 32.385,
    "definition_version": 6
   }
  },
  {
   "ticker": "TRST",
   "ts": "2026-09-18T14:40:17.564Z",
   "kind": "signal",
   "payload": {
    "signal": "pullback",
    "transition": "enter",
    "price": 55.651,
    "definition_version": 6
   }
  }
 ]
}

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

Related signals — Ranges & reversals