tickerbot.io

trend_long

Long-term trend classification from sma_200 slope. One of uptrend, downtrend, sideways.

Facts

A string signal: screen on it with = or IN (trend_long = 'up'). It's null on tickers it doesn't apply to.

typestring
allowed valuesup, down, sideways
refreshpost-close daily · 8:05 PM ET
grains1m 1h 1d
asset classesUS equities, Crypto, FX
coverageall tickers
history1d full · since 2004; 1h full · since 2004; 1m full · since 2004
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": "trend_long = '"'"'up'"'"'"
  }'

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": "trend_long = '"'"'up'"'"'",
    "asof": "2026-08-17"
  }'

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": "trend_long = '"'"'up'"'"'",
    "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,trend_long" \
  -H "Authorization: Bearer YOUR_KEY"