View as markdown
Concepts › SignalsTechnicals Moving averages & VWAP

pct_from_sma_100

Percent difference between current close and `sma_100`. Daily-cadence because the slow MA changes slowly.

Watch this signal live on real tickers: Open in Explore →

At a glance

Typenumeric
GroupTechnicals
CategoryMoving averages & VWAP
Unit%
Update cadencepost-close daily
Intervals1m/1h/1d
Universeall tickers
Historyfull · since 2004
Nullableyes — 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 →

Live — every ticker with pct_from_sma_100 above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_100" \
  --data-urlencode "condition=> 0.7534" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:05.307Z",
 "signal": "pct_from_sma_100",
 "condition": "> 0.7534",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "WETO",
   "name": "Wetour Robotics Limited Ordinary Shares",
   "value": 19.6999
  },
  {
   "ticker": "PFSA",
   "name": "Profusa, Inc. Common Stock",
   "value": 7.7603
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_100" \
  --data-urlencode "condition=> 0.7534" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "signal": "pct_from_sma_100",
 "condition": "> 0.7534",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "ELOX",
   "name": "Eloxx Pharmaceuticals, Inc. Common Stock",
   "value": 1072.7762112212604
  },
  {
   "ticker": "PIIIW",
   "name": "P3 Health Partners Inc. Warrant",
   "value": 352.26130653268984
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/pct_from_sma_100/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 0.7534", "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 →

Live — the whole market, ranked by this column
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=pct_from_sma_100 IS NOT NULL" \
  -d "order=pct_from_sma_100" -d "columns=pct_from_sma_100" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:09.594Z",
 "query": {
  "q": "pct_from_sma_100 IS NOT NULL",
  "limit": 2,
  "order": "pct_from_sma_100",
  "dir": "desc",
  "fields": [
   "pct_from_sma_100"
  ],
  "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_100": 19.6999
  },
  {
   "ticker": "PFSA",
   "name": "Profusa, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 8.116,
   "day_change_pct": 1.2549,
   "gap_pct": 0.1336,
   "relative_volume": null,
   "market_cap": 228058,
   "pct_from_sma_100": 7.7603
  }
 ]
}
As-of — the same scan at a past date
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=pct_from_sma_100 IS NOT NULL" \
  -d "order=pct_from_sma_100" -d "columns=pct_from_sma_100" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "query": {
  "q": "pct_from_sma_100 IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "pct_from_sma_100",
  "dir": "desc",
  "fields": [
   "pct_from_sma_100"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "ELOX",
   "name": "Eloxx Pharmaceuticals, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 6.039,
   "day_change_pct": 997.9999999999999,
   "gap_pct": 0,
   "relative_volume": 4.393151941302354,
   "market_cap": null,
   "pct_from_sma_100": 1072.7762112212604
  },
  {
   "ticker": "PIIIW",
   "name": "P3 Health Partners Inc. Warrant",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 0.0396,
   "day_change_pct": 15.116279069767453,
   "gap_pct": -8.430232558139535,
   "relative_volume": 0.7376182089986475,
   "market_cap": 129413,
   "pct_from_sma_100": 352.26130653268984
  }
 ]
}
Subscribe — webhook on a market-wide condition
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_100 > 0.7534", "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 →

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,pct_from_sma_100" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:11.976Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "pct_from_sma_100"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "pct_from_sma_100": 3.1546490251775756
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "pct_from_sma_100": 3.9946918595294636
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "pct_from_sma_100": 4.0276518396842365
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "pct_from_sma_100": 20.920298927636654
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "pct_from_sma_100": 21.66111369009502
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "pct_from_sma_100": 20.9067536496968
   }
  ]
 }
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Moving averages & VWAP