← tickerbot.io
View as markdown

ema_9

9-day exponential moving average of close. Most-recent-weighted; reacts faster than the same-period SMA. Commonly paired with `ema_21` for short-trend bias.

metadata
typenumeric
unitUSD
cadencepost-close daily
intervals1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

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 with ema_9 above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/ema_9" \
  --data-urlencode "condition=> 425.4581" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:33.001Z",
 "signal": "ema_9",
 "condition": "> 425.4581",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 765858.0849
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "value": 77610.2052
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/ema_9" \
  --data-urlencode "condition=> 425.4581" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "ema_9",
 "condition": "> 425.4581",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 732875.6288949605
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "value": 64209.2111909317
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/ema_9/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 425.4581", "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, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "ema_9 IS NOT NULL", "order": "ema_9", "columns": "ema_9" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:35.880Z",
 "query": {
  "q": "ema_9 IS NOT NULL",
  "limit": 2,
  "order": "ema_9",
  "dir": "desc",
  "fields": [
   "ema_9"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 760698.18,
   "change_1d_pct": -0.42382741642148175,
   "gap_pct": -0.1289,
   "relative_volume": 0.3262,
   "market_cap": 1113593331736,
   "ema_9": 765858.0849
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "asset_class": "crypto",
   "asset_type": null,
   "price": 80598.01,
   "change_1d_pct": 5.637669986433297,
   "gap_pct": null,
   "relative_volume": 2.1274,
   "market_cap": null,
   "ema_9": 77610.2052
  }
 ]
}
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": "ema_9 IS NOT NULL", "order": "ema_9", "columns": "ema_9", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "ema_9 IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "ema_9",
  "dir": "desc",
  "fields": [
   "ema_9"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 733609.77,
   "change_1d_pct": -0.5005058999050566,
   "gap_pct": 0.1665536416655364,
   "relative_volume": 1.9825114678899083,
   "market_cap": 1060165881900,
   "ema_9": 732875.6288949605
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "asset_class": "crypto",
   "asset_type": null,
   "price": 64222.99,
   "change_1d_pct": 1.1780821486186746,
   "gap_pct": -0.00018905021172890105,
   "relative_volume": 0.4125663243882887,
   "market_cap": null,
   "ema_9": 64209.2111909317
  }
 ]
}
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": "ema_9 > 425.4581", "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,ema_9" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:38.273Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "ema_9"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "ema_9": 325.9579
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "ema_9": 327.2737
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "ema_9": 329.0568
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "ema_9": 497.9533
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "ema_9": 496.5075
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "ema_9": 496.5058
   }
  ]
 }
}

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

Related signals — Moving averages & VWAP