# from_sma_50_pct

Percent distance from the 50-day SMA. Negative when price is below the average.

A numeric signal column on the Tickerbot computed state table (20,964+ ticker rows) — computed by the platform, queryable by bare name across the API. Values are NULL on rows the signal doesn't apply to.

- Group: Technicals
- Category: Moving averages & VWAP
- Type: numeric
- Unit: %
- Update cadence: post-close daily
- Intervals: 1m/1h/1d
- Universe: all tickers
- History: full · since 2003
- Nullable: yes

## Query it

Every applicable form factor, grouped by endpoint family. Response payloads are real captures, sampled 2026-09-08 and trimmed; your run's values and dates will differ.

### Every ticker matching this signal — `/v2/signals/{signal}` (https://tickerbot.io/docs/endpoints/signals.md)

#### Live — every ticker with from_sma_50_pct above a cutoff

```bash
curl -G "https://api.tickerbot.io/v2/signals/from_sma_50_pct" \
  --data-urlencode "condition=> 51.84318880361868" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-09-08, trimmed):

```json
{
 "as_of": "2026-09-08T13:08:20.331Z",
 "signal": "from_sma_50_pct",
 "condition": "> 51.84318880361868",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "TANH",
   "name": "Tantech Holdings Ltd. Class A Common Shares",
   "value": 2434.602228537053
  },
  {
   "ticker": "CLGN",
   "name": "CollPlant Biotechnologies Ltd Ordinary Shares",
   "value": 771.9272519907944
  }
 ]
}
```

#### As-of — the same read at a past date

```bash
curl -G "https://api.tickerbot.io/v2/signals/from_sma_50_pct" \
  --data-urlencode "condition=> 51.84318880361868" \
  -d "asof=2026-06-10" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-09-08, trimmed):

```json
{
 "as_of": "2026-06-10",
 "signal": "from_sma_50_pct",
 "condition": "> 51.84318880361868",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AMPGR",
   "name": "Amplitech Group, Inc. Series A Right",
   "value": 638.376524390244
  },
  {
   "ticker": "AMPGZ",
   "name": "Amplitech Group, Inc. Series B Right",
   "value": 528.4171711935525
  }
 ]
}
```

#### Subscribe — webhook when a ticker starts matching

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/from_sma_50_pct/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 51.84318880361868", "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` (https://tickerbot.io/docs/endpoints/scan.md)

#### Live — the whole market, ranked by this column

```bash
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_50_pct IS NOT NULL", "order": "from_sma_50_pct", "columns": "from_sma_50_pct" }'
```

Response (sampled 2026-09-08, trimmed):

```json
{
 "as_of": "2026-09-08T13:08:23.116Z",
 "query": {
  "q": "from_sma_50_pct IS NOT NULL",
  "limit": 2,
  "order": "from_sma_50_pct",
  "dir": "desc",
  "fields": [
   "from_sma_50_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_50_pct": 2434.602228537053
  },
  {
   "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_50_pct": 771.9272519907944
  }
 ]
}
```

#### As-of — the same scan at a past date

```bash
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "from_sma_50_pct IS NOT NULL", "order": "from_sma_50_pct", "columns": "from_sma_50_pct", "asof": "2026-06-10" }'
```

Response (sampled 2026-09-08, trimmed):

```json
{
 "as_of": "2026-06-10",
 "query": {
  "q": "from_sma_50_pct IS NOT NULL",
  "asof": "2026-06-10",
  "interval": "auto",
  "limit": 2,
  "order": "from_sma_50_pct",
  "dir": "desc",
  "fields": [
   "from_sma_50_pct"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "AMPGR",
   "name": "Amplitech Group, Inc. Series A Right",
   "asset_class": "stocks",
   "asset_type": "RIGHT",
   "price": 2.79,
   "change_1d_pct": 34.13461538461538,
   "gap_pct": 20.192307692307686,
   "relative_volume": 1.773168872862897,
   "market_cap": null,
   "from_sma_50_pct": 638.376524390244
  },
  {
   "ticker": "AMPGZ",
   "name": "Amplitech Group, Inc. Series B Right",
   "asset_class": "stocks",
   "asset_type": "RIGHT",
   "price": 2.57,
   "change_1d_pct": 37.425806106625295,
   "gap_pct": 31.00903694989573,
   "relative_volume": 0.6026611187032995,
   "market_cap": null,
   "from_sma_50_pct": 528.4171711935525
  }
 ]
}
```

#### Subscribe — webhook on a market-wide condition

```bash
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "from_sma_50_pct > 51.84318880361868", "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` (https://tickerbot.io/docs/endpoints/series.md)

#### History — the column on an aligned time grid

```bash
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,from_sma_50_pct" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-09-08, trimmed):

```json
{
 "as_of": "2026-09-08T13:08:26.485Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "from_sma_50_pct"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-02",
    "close": 324.96,
    "from_sma_50_pct": 3.6138190540328923
   },
   {
    "t": "2026-09-03",
    "close": 328.21,
    "from_sma_50_pct": 4.396418468531818
   },
   {
    "t": "2026-09-04",
    "close": 321.183,
    "from_sma_50_pct": 1.9060291648156376
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-02",
    "close": 496.82,
    "from_sma_50_pct": 13.305154191373733
   },
   {
    "t": "2026-09-03",
    "close": 510.12,
    "from_sma_50_pct": 15.56852049883738
   },
   {
    "t": "2026-09-04",
    "close": 501.241,
    "from_sma_50_pct": 12.840520534957308
   }
  ]
 }
}
```

## Related signals (Moving averages & VWAP)

- [above_sma_10](https://tickerbot.io/docs/signals/above_sma_10.md)
- [above_sma_20](https://tickerbot.io/docs/signals/above_sma_20.md)
- [above_sma_200](https://tickerbot.io/docs/signals/above_sma_200.md)
- [above_sma_50](https://tickerbot.io/docs/signals/above_sma_50.md)
- [above_vwap](https://tickerbot.io/docs/signals/above_vwap.md)
- [above_vwap_minute](https://tickerbot.io/docs/signals/above_vwap_minute.md)
- [day_vwap](https://tickerbot.io/docs/signals/day_vwap.md)
- [death_cross](https://tickerbot.io/docs/signals/death_cross.md)
- [death_regime](https://tickerbot.io/docs/signals/death_regime.md)
- [ema_12](https://tickerbot.io/docs/signals/ema_12.md)
- [ema_21](https://tickerbot.io/docs/signals/ema_21.md)
- [ema_26](https://tickerbot.io/docs/signals/ema_26.md)
- [ema_9](https://tickerbot.io/docs/signals/ema_9.md)
- [from_sma_10_pct](https://tickerbot.io/docs/signals/from_sma_10_pct.md)
- [from_sma_100_pct](https://tickerbot.io/docs/signals/from_sma_100_pct.md)

---

Full catalog: https://tickerbot.io/docs/signals/catalog.md · Schema: https://tickerbot.io/docs/schema.md · HTML: https://tickerbot.io/docs/signals/from_sma_50_pct/
