# golden_cross

50-day SMA crossed above 200-day SMA today.

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: `Yesterday: sma_50 ≤ sma_200. Today: sma_50 > sma_200.`

- Group: Technicals
- Category: Moving averages & VWAP
- Type: event
- Update cadence: post-close daily
- Intervals: 1d
- Universe: all tickers
- History: full · since 2004
- Firing: sticky
- Typical role: regime classification (uptrend tag)

## 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/golden_cross" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:24:00.292Z",
 "signal": "golden_cross",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AAOI",
   "name": "Applied Optoelectronics, Inc.",
   "value": true
  },
  {
   "ticker": "AAON",
   "name": "Aaon Inc",
   "value": true
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-05-20",
 "signal": "golden_cross",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "ACVT",
   "name": "Advent Convertible Bond ETF",
   "value": true
  },
  {
   "ticker": "AMZU",
   "name": "Direxion Shares ETF Trust Direxion Daily AMZN Bull 2X ETF",
   "value": true
  }
 ]
}
```

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

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/golden_cross/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=golden_cross" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:24:01.225Z",
 "query": {
  "q": "golden_cross",
  "limit": 2,
  "order": "day_change_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "FDMT",
   "name": "4D Molecular Therapeutics, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 14.215,
   "day_change_pct": 0.1661,
   "gap_pct": 0.0008,
   "relative_volume": null,
   "market_cap": 673426932
  },
  {
   "ticker": "KURA",
   "name": "Kura Oncology, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 12.064,
   "day_change_pct": 0.1109,
   "gap_pct": 0.0078,
   "relative_volume": null,
   "market_cap": 966112322
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "golden_cross",
  "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": "LWACU",
   "name": "LightWave Acquisition Corp. Units",
   "asset_class": "stocks",
   "asset_type": "UNIT",
   "price": 11.43,
   "day_change_pct": 11.949069539666981,
   "gap_pct": 1.988246816846223,
   "relative_volume": null,
   "market_cap": null
  },
  {
   "ticker": "SPKLW",
   "name": "Spark I Acquisition Corp. Warrant",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 1.04,
   "day_change_pct": 11.587982832618025,
   "gap_pct": 4.0772532188841115,
   "relative_volume": 0.6552947628491342,
   "market_cap": null
  }
 ]
}
```

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

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

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

### 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=golden_cross" -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:24:04.462Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-01-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "golden_cross",
  "transition": "enter"
 },
 "count": 2,
 "results": [
  {
   "ticker": "XLO",
   "ts": "2026-08-14T20:00:00.000Z",
   "kind": "signal",
   "payload": {
    "signal": "golden_cross",
    "transition": "enter",
    "price": 9.142,
    "definition_version": 6
   }
  },
  {
   "ticker": "XLFI",
   "ts": "2026-08-14T20:00:00.000Z",
   "kind": "signal",
   "payload": {
    "signal": "golden_cross",
    "transition": "enter",
    "price": 24.539,
    "definition_version": 6
   }
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-08-18T00:24:04.592Z",
 "ticker": "XLO",
 "signal": "golden_cross",
 "count": 2,
 "events": [
  {
   "started_at": "2026-08-14T20:00:00.000Z",
   "ended_at": "2026-08-15T20:00:00.000Z",
   "start_price": 9.142,
   "end_price": 9.142,
   "definition_version": 6
  },
  {
   "started_at": "2024-12-05T20:00:00.000Z",
   "ended_at": "2024-12-06T20:00:00.000Z",
   "start_price": 1.05,
   "end_price": 1.05,
   "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_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)
- [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=golden_cross · HTML: https://tickerbot.io/docs/signals/golden_cross/
