Field reference / trend
trend_ma200_price
200-period simple moving average (SMA) of closes: the mean of the last 200 daily closes on daily rows, of the last 200 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 200 bars
| Level | Per stock, ETF and coin, one value per date |
| Type | number |
| Can be null | Yes |
| Category | trend |
| 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_ma200_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_ma200_price","op":"gte","value":0}]' \
--data-urlencode 'fields=["ticker","trend_ma200_price"]' \
-H "Authorization: Bearer YOUR_API_KEY"
Related fields
Every field, with its type and values, is also in /v1/schema/fields.