tickerbot.io
View as markdown

from_sma_10_pct

Percent difference between current close and sma_10. Positive = above MA, negative = below. Continuous version of the above_sma_10 boolean.

Facts

typenumeric
cadence1 min · 4 AM–8 PM ET
intervals1m 1h 1d
universeall tickers
historyfull · since 2003

This signal

Swap YOUR_KEY for a key from /dashboard/keys.

Live

curl -G "https://api.tickerbot.io/v2/signals/from_sma_10_pct" \
  --data-urlencode "condition=> 24.02986380219403" \
  -H "Authorization: Bearer YOUR_KEY"

As of a past date

curl -G "https://api.tickerbot.io/v2/signals/from_sma_10_pct" \
  --data-urlencode "condition=> 24.02986380219403" \
  -d "asof=2026-07-25" \
  -H "Authorization: Bearer YOUR_KEY"

Webhook

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

In a scan

Live

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_10_pct IS NOT NULL", "order": "from_sma_10_pct", "columns": "from_sma_10_pct" }'

As of a past date

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_10_pct IS NOT NULL", "order": "from_sma_10_pct", "columns": "from_sma_10_pct", "asof": "2026-07-25" }'

Webhook

curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "from_sma_10_pct > 24.02986380219403", "target_url": "https://example.com/hooks/tickerbot"}'

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

Over time

History

curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,from_sma_10_pct" \
  -H "Authorization: Bearer YOUR_KEY"