tickerbot.io

ema_12

12-day EMA. Fast-side input of canonical MACD (macd = ema_12 − ema_26).

Facts

A numeric signal: screen on it with a comparison operator (ema_12 > 440). It's null on tickers it doesn't apply to.

definitionExponential moving average of daily closes with k = 2 / (12 + 1): EMA = close × k + previous EMA × (1 − k), seeded with the mean of the first 12 closes. Live, today's close is the current price.
typenumeric
unitUSD
refreshpost-close daily · 8:05 PM ET
grains1d
asset classesUS equities, Rates, Crypto, FX
coverageall tickers
historyfull · since 2003
nullableyes

Examples

Screen on it

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "q": "ema_12 > 440",
    "order": "ema_12"
  }'

Backtest it on 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_12 > 440",
    "asof": "2026-08-17",
    "order": "ema_12"
  }'

Get an alert when a ticker starts matching

curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "q": "ema_12 > 440",
    "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

curl "https://api.tickerbot.io/v2/tickers/NVDA/history?select=close,ema_12" \
  -H "Authorization: Bearer YOUR_KEY"