# above_sma_200

Price is above the 200-day simple moving average.

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

Definition: `close > sma_200`

- Group: Technicals
- Category: Moving averages & VWAP
- Type: state
- Update cadence: 1 min · mkt hrs
- Intervals: 1m/1h/1d
- Universe: all tickers
- History: full · since 2004
- Firing: continuous

## Query it

Every applicable form factor, grouped by endpoint family. 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. (https://tickerbot.io/docs/endpoints/signals.md)

#### Live — every ticker where it fires now

```bash
curl "https://api.tickerbot.io/v2/signals/above_sma_200" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:22:25.838Z",
 "signal": "above_sma_200",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "A",
   "name": "Agilent Technologies Inc.",
   "value": true
  },
  {
   "ticker": "AAAA",
   "name": "Amplius Aggressive Asset Allocation ETF",
   "value": true
  }
 ]
}
```

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

```bash
curl "https://api.tickerbot.io/v2/signals/above_sma_200?asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-05-20",
 "signal": "above_sma_200",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AA",
   "name": "Alcoa Corporation",
   "value": true
  },
  {
   "ticker": "AAAA",
   "name": "Amplius Aggressive Asset Allocation ETF",
   "value": true
  }
 ]
}
```

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

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

#### Live — the whole market, filtered on this signal

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=above_sma_200" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:22:26.712Z",
 "query": {
  "q": "above_sma_200",
  "limit": 2,
  "order": "day_change_pct",
  "dir": "desc",
  "fields": [],
  "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
  },
  {
   "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": 6.8753,
   "market_cap": 2258148
  }
 ]
}
```

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

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=above_sma_200" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "above_sma_200",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "day_change_pct",
  "dir": "desc",
  "fields": [],
  "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
  },
  {
   "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
  }
 ]
}
```

#### 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": "above_sma_200", "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. (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,above_sma_200" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:22:29.130Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "above_sma_200"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "above_sma_200": true
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "above_sma_200": true
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "above_sma_200": true
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "above_sma_200": true
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "above_sma_200": true
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "above_sma_200": true
   }
  ]
 }
}
```

### Use events — `/v2/events`

The flag as a timeline: each edge as a point event, and the spans it stayed true. (https://tickerbot.io/docs/endpoints/events.md)

#### Firings — every enter edge as a point event

```bash
curl -G "https://api.tickerbot.io/v2/events" \
  -d "kind=signal" -d "signal=above_sma_200" -d "transition=enter" -d "since=2026-01-10" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:22:29.312Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-01-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "above_sma_200",
  "transition": "enter"
 },
 "count": 2,
 "results": [
  {
   "ticker": "WM",
   "ts": "2026-08-17T23:57:35.916Z",
   "kind": "signal",
   "payload": {
    "signal": "above_sma_200",
    "transition": "enter",
    "price": 223.993,
    "definition_version": 6
   }
  },
  {
   "ticker": "INEO",
   "ts": "2026-08-17T23:56:36.396Z",
   "kind": "signal",
   "payload": {
    "signal": "above_sma_200",
    "transition": "enter",
    "price": 0.622,
    "definition_version": 6
   }
  }
 ]
}
```

#### Spans — when it was true for one ticker (WM)

```bash
curl "https://api.tickerbot.io/v2/signals/above_sma_200/WM/events" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:22:29.457Z",
 "ticker": "WM",
 "signal": "above_sma_200",
 "count": 2,
 "events": [
  {
   "started_at": "2026-08-17T23:57:35.916Z",
   "ended_at": null,
   "start_price": 223.993,
   "end_price": null,
   "definition_version": 6
  },
  {
   "started_at": "2026-08-17T19:33:36.120Z",
   "ended_at": "2026-08-17T20:17:40.114Z",
   "start_price": 223.852,
   "end_price": 223.697,
   "definition_version": 6
  }
 ]
}
```

## 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_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)
- [golden_cross](https://tickerbot.io/docs/signals/golden_cross.md)
- [golden_regime](https://tickerbot.io/docs/signals/golden_regime.md)
- [held_above_vwap_30m](https://tickerbot.io/docs/signals/held_above_vwap_30m.md)

---

Full catalog: https://tickerbot.io/docs/signals.md · Schema: https://tickerbot.io/docs/schema.md · Interactive: https://tickerbot.io/explore?signal=above_sma_200 · HTML: https://tickerbot.io/docs/signals/above_sma_200/
