pct_from_sma_200
Percent distance from the 200-day SMA. Negative when price is below the average.
At a glance
| Type | numeric |
| Group | Technicals |
| Category | Moving averages & VWAP |
| Unit | % |
| Update cadence | post-close daily |
| Intervals | 1m/1h/1d |
| Universe | all tickers |
| History | full · since 2004 |
| Nullable | yes — NULL where not applicable |
SMAs, EMAs, and VWAPs, with the distances, above/below states, and crosses they own.
Query it
Every applicable form factor, grouped by endpoint family. Swap YOUR_KEY for the value from /dashboard/keys. Response payloads are real captures, sampled 2026-08-18 and trimmed — your run's values and dates will differ.
Use signals /v2/signals/{signal}
One signal across the market: who matches now, who matched then, and a push when someone starts. Docs →
curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_200" \
--data-urlencode "condition=> 0.8891" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:06.369Z",
"signal": "pct_from_sma_200",
"condition": "> 0.8891",
"universe": null,
"count": 2,
"results": [
{
"ticker": "WETO",
"name": "Wetour Robotics Limited Ordinary Shares",
"value": 27.6831
},
{
"ticker": "BANL",
"name": "CBL International Limited Class B Ordinary Shares",
"value": 9.1694
}
]
}curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_200" \
--data-urlencode "condition=> 0.8891" \
-d "asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"signal": "pct_from_sma_200",
"condition": "> 0.8891",
"universe": null,
"count": 2,
"results": [
{
"ticker": "MGRT",
"name": "Mega Fortune Company Limited Ordinary Shares",
"value": 420.0516994819544
},
{
"ticker": "INTW",
"name": "GraniteShares 2x Long INTC Daily ETF",
"value": 348.58328052838385
}
]
}curl -X POST "https://api.tickerbot.io/v2/signals/pct_from_sma_200/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"condition": "> 0.8891", "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.
Use scan /v2/scan
The whole market through a WHERE clause — this signal composed freely with any other column. Docs →
curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=pct_from_sma_200 IS NOT NULL" \
-d "order=pct_from_sma_200" -d "columns=pct_from_sma_200" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:08.773Z",
"query": {
"q": "pct_from_sma_200 IS NOT NULL",
"limit": 2,
"order": "pct_from_sma_200",
"dir": "desc",
"fields": [
"pct_from_sma_200"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "WETO",
"name": "Wetour Robotics Limited Ordinary Shares",
"asset_class": "stocks",
"asset_type": "CS",
"price": 35.36,
"day_change_pct": 3.3017,
"gap_pct": 0.236,
"relative_volume": 3.2667,
"market_cap": 6746976,
"pct_from_sma_200": 27.6831
},
{
"ticker": "BANL",
"name": "CBL International Limited Class B Ordinary Shares",
"asset_class": "stocks",
"asset_type": "CS",
"price": 11.001,
"day_change_pct": 0.0065,
"gap_pct": -0.1446,
"relative_volume": null,
"market_cap": 23077558,
"pct_from_sma_200": 9.1694
}
]
}curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=pct_from_sma_200 IS NOT NULL" \
-d "order=pct_from_sma_200" -d "columns=pct_from_sma_200" \
-d "asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"query": {
"q": "pct_from_sma_200 IS NOT NULL",
"asof": "2026-05-20",
"interval": "auto",
"limit": 2,
"order": "pct_from_sma_200",
"dir": "desc",
"fields": [
"pct_from_sma_200"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "MGRT",
"name": "Mega Fortune Company Limited Ordinary Shares",
"asset_class": "stocks",
"asset_type": "CS",
"price": 122.49,
"day_change_pct": -3.929411764705886,
"gap_pct": -0.5725490196078462,
"relative_volume": 0.6125488824976112,
"market_cap": null,
"pct_from_sma_200": 420.0516994819544
},
{
"ticker": "INTW",
"name": "GraniteShares 2x Long INTC Daily ETF",
"asset_class": "stocks",
"asset_type": "ETF",
"price": 40.3588,
"day_change_pct": 14.7290171274252,
"gap_pct": 10.866320801648776,
"relative_volume": 1.1736647935026017,
"market_cap": null,
"pct_from_sma_200": 348.58328052838385
}
]
}curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"q": "pct_from_sma_200 > 0.8891", "target_url": "https://example.com/hooks/tickerbot"}'Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.
Use series /v2/series
Its history over time, on one aligned grid. Docs →
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,pct_from_sma_200" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:12.337Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"pct_from_sma_200"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-08-12",
"close": 302.25,
"pct_from_sma_200": 7.893810668400356
},
{
"t": "2026-08-13",
"close": 305.26,
"pct_from_sma_200": 8.902663989658887
},
{
"t": "2026-08-14",
"close": 305.93,
"pct_from_sma_200": 9.066992603756004
}
],
"MSFT": [
{
"t": "2026-08-12",
"close": 492.43,
"pct_from_sma_200": 13.79151266574177
},
{
"t": "2026-08-13",
"close": 496.88,
"pct_from_sma_200": 14.847367871211864
},
{
"t": "2026-08-14",
"close": 495.4,
"pct_from_sma_200": 14.49678958678658
}
]
}
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.