View as markdown

from_sma_10_pct

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

metadata
typenumeric
unit%
cadencepost-close daily
intervals1m/1h/1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-08, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker with from_sma_10_pct above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/from_sma_10_pct" \
  --data-urlencode "condition=> 20.89249492900608" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-08, trimmed)
{
 "as_of": "2026-09-08T13:08:17.235Z",
 "signal": "from_sma_10_pct",
 "condition": "> 20.89249492900608",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "TANH",
   "name": "Tantech Holdings Ltd. Class A Common Shares",
   "value": 765.5962040984732
  },
  {
   "ticker": "CLGN",
   "name": "CollPlant Biotechnologies Ltd Ordinary Shares",
   "value": 433.7551427502805
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/from_sma_10_pct" \
  --data-urlencode "condition=> 20.89249492900608" \
  -d "asof=2026-06-10" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-08, trimmed)
{
 "as_of": "2026-06-10",
 "signal": "from_sma_10_pct",
 "condition": "> 20.89249492900608",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "CPOP",
   "name": "Pop Culture Group Co., Ltd Class A Ordinary Shares",
   "value": 259.4485302811733
  },
  {
   "ticker": "DSY",
   "name": "Big Tree Cloud Holdings Limited Class A Ordinary Shares",
   "value": 201.44442118483917
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/from_sma_10_pct/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 20.89249492900608", "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.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_10_pct IS NOT NULL", "order": "from_sma_10_pct", "columns": "from_sma_10_pct" }'
Response (sampled 2026-09-08, trimmed)
{
 "as_of": "2026-09-08T13:08:23.623Z",
 "query": {
  "q": "from_sma_10_pct IS NOT NULL",
  "limit": 2,
  "order": "from_sma_10_pct",
  "dir": "desc",
  "fields": [
   "from_sma_10_pct"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "TANH",
   "name": "Tantech Holdings Ltd. Class A Common Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 20.14,
   "change_1d_pct": 4.950495049504947,
   "gap_pct": -9.33,
   "relative_volume": null,
   "market_cap": 14601921,
   "from_sma_10_pct": 765.5962040984732
  },
  {
   "ticker": "CLGN",
   "name": "CollPlant Biotechnologies Ltd Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 3.425,
   "change_1d_pct": 0.38100820633059496,
   "gap_pct": -2.99,
   "relative_volume": null,
   "market_cap": 6712414,
   "from_sma_10_pct": 433.7551427502805
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_10_pct IS NOT NULL", "order": "from_sma_10_pct", "columns": "from_sma_10_pct", "asof": "2026-06-10" }'
Response (sampled 2026-09-08, trimmed)
{
 "as_of": "2026-06-10",
 "query": {
  "q": "from_sma_10_pct IS NOT NULL",
  "asof": "2026-06-10",
  "interval": "auto",
  "limit": 2,
  "order": "from_sma_10_pct",
  "dir": "desc",
  "fields": [
   "from_sma_10_pct"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "CPOP",
   "name": "Pop Culture Group Co., Ltd Class A Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 15.2,
   "change_1d_pct": 322.2222222222222,
   "gap_pct": 41.66666666666665,
   "relative_volume": 20.854878151407174,
   "market_cap": null,
   "from_sma_10_pct": 259.4485302811733
  },
  {
   "ticker": "DSY",
   "name": "Big Tree Cloud Holdings Limited Class A Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 7.2,
   "change_1d_pct": 291.30434782608694,
   "gap_pct": 420.65217391304344,
   "relative_volume": 29.831389540164082,
   "market_cap": null,
   "from_sma_10_pct": 201.44442118483917
  }
 ]
}
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": "from_sma_10_pct > 20.89249492900608", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

Its history /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,from_sma_10_pct" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-08, trimmed)
{
 "as_of": "2026-09-08T13:08:26.896Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "from_sma_10_pct"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-02",
    "close": 324.96,
    "from_sma_10_pct": 2.9579633159054426
   },
   {
    "t": "2026-09-03",
    "close": 328.21,
    "from_sma_10_pct": 3.4155358462302345
   },
   {
    "t": "2026-09-04",
    "close": 321.183,
    "from_sma_10_pct": 0.8644591924825904
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-02",
    "close": 496.82,
    "from_sma_10_pct": 0.06568157732519157
   },
   {
    "t": "2026-09-03",
    "close": 510.12,
    "from_sma_10_pct": 2.142630793101731
   },
   {
    "t": "2026-09-04",
    "close": 501.241,
    "from_sma_10_pct": 0.03869895664518402
   }
  ]
 }
}

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

Related signals — Moving averages & VWAP