View as markdown
Concepts › SignalsTechnicals Moving averages & VWAP

pct_from_sma_10

Percent difference between current close and `sma_10`. Positive = above MA, negative = below. Continuous version of the `above_sma_10` boolean.

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 2003
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_10 above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_10" \
  --data-urlencode "condition=> 0.3152" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:03.413Z",
 "signal": "pct_from_sma_10",
 "condition": "> 0.3152",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "LEGO.WS",
   "name": "Legato Merger Corp. IV Redeemable Warrants, each whole warrant exercisable to purchase one ordinary share at an exercise price of $11.50 per share",
   "value": 50535.5971
  },
  {
   "ticker": "SAC.WS",
   "name": "Safeguard Acquisition Corp. Warrants, each whole warrant exercisable for one Class A ordinary share at an exercise price of $11.50 per share",
   "value": 41132.13
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/pct_from_sma_10" \
  --data-urlencode "condition=> 0.3152" \
  -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_10",
 "condition": "> 0.3152",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "TE.WS",
   "name": "T1 Energy Inc. Warrants, each whole warrant exercisable to purchase one Common Stock at an exercise price of $11.50 per share",
   "value": 261.95164326046057
  },
  {
   "ticker": "AMPGR",
   "name": "Amplitech Group, Inc. Series A Right",
   "value": 249.06189615408607
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/pct_from_sma_10/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 0.3152", "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_10 IS NOT NULL" \
  -d "order=pct_from_sma_10" -d "columns=pct_from_sma_10" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:08.210Z",
 "query": {
  "q": "pct_from_sma_10 IS NOT NULL",
  "limit": 2,
  "order": "pct_from_sma_10",
  "dir": "desc",
  "fields": [
   "pct_from_sma_10"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "LEGO.WS",
   "name": "Legato Merger Corp. IV Redeemable Warrants, each whole warrant exercisable to purchase one ordinary share at an exercise price of $11.50 per share",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 22150.1905,
   "day_change_pct": null,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": null,
   "pct_from_sma_10": 50535.5971
  },
  {
   "ticker": "SAC.WS",
   "name": "Safeguard Acquisition Corp. Warrants, each whole warrant exercisable for one Class A ordinary share at an exercise price of $11.50 per share",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 22150.1905,
   "day_change_pct": 36922.138,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": null,
   "pct_from_sma_10": 41132.13
  }
 ]
}
As-of — the same scan at a past date
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=pct_from_sma_10 IS NOT NULL" \
  -d "order=pct_from_sma_10" -d "columns=pct_from_sma_10" \
  -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_10 IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "pct_from_sma_10",
  "dir": "desc",
  "fields": [
   "pct_from_sma_10"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "TE.WS",
   "name": "T1 Energy Inc. Warrants, each whole warrant exercisable to purchase one Common Stock at an exercise price of $11.50 per share",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 1,
   "day_change_pct": 227.8688524590164,
   "gap_pct": 14.754098360655732,
   "relative_volume": 13.463851325404573,
   "market_cap": 160977000,
   "pct_from_sma_10": 261.95164326046057
  },
  {
   "ticker": "AMPGR",
   "name": "Amplitech Group, Inc. Series A Right",
   "asset_class": "stocks",
   "asset_type": "RIGHT",
   "price": 0.56,
   "day_change_pct": 12.00000000000001,
   "gap_pct": 39.99999999999999,
   "relative_volume": 9.272067488643737,
   "market_cap": null,
   "pct_from_sma_10": 249.06189615408607
  }
 ]
}
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_10 > 0.3152", "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_10" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:25:11.183Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "pct_from_sma_10"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "pct_from_sma_10": -2.745036197660677
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "pct_from_sma_10": -0.86394757986208
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "pct_from_sma_10": -0.5521539204228945
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "pct_from_sma_10": 0.7960795293603339
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "pct_from_sma_10": 0.7565357919904009
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "pct_from_sma_10": -0.20908380985945166
   }
  ]
 }
}

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

Related signals — Moving averages & VWAP