Field reference / trend

trend_ma40_price

40-period simple moving average (SMA) of closes: the mean of the last 40 daily closes on daily rows, of the last 40 weekly closes on weekly rows. Prices are adjusted for splits up to the row date, so they match that day's quoted prices; not adjusted for dividends. Null with fewer than 40 bars

LevelPer stock, ETF and coin, one value per date
Typenumber
Can be nullYes
Categorytrend
Returned by/v1/history, /v1/search

Getting it

Its history for one ticker:

curl -G "https://api.tickerdb.com/v1/history" \ --data-urlencode 'tickers=AAPL' \ --data-urlencode 'fields=trend_ma40_price' \ --data-urlencode 'start=2025-01-01' \ -H "Authorization: Bearer YOUR_API_KEY"

Stocks matching it today:

curl -G "https://api.tickerdb.com/v1/search" \ --data-urlencode 'filters=[{"field":"trend_ma40_price","op":"gte","value":0}]' \ --data-urlencode 'fields=["ticker","trend_ma40_price"]' \ -H "Authorization: Bearer YOUR_API_KEY"

Every field, with its type and values, is also in /v1/schema/fields.