# above_yesterday_close

Close above the prior session’s close.

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 > close_prev`

- Group: Price
- Category: Session levels & position
- Type: state
- Update cadence: 1 min · mkt hrs
- Intervals: 1m/1h/1d
- Universe: all tickers
- History: recent only (forward-only from first computation)
- Firing: continuous
- Typical role: regime classifier · compound-strategy filter

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

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

```json
{
 "as_of": "2026-08-18T00:22:33.380Z",
 "signal": "above_yesterday_close",
 "condition": null,
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AA",
   "name": "Alcoa Corporation",
   "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_yesterday_close?asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-05-20",
 "signal": "above_yesterday_close",
 "condition": null,
 "universe": null,
 "count": 0,
 "results": []
}
```

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

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

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

```json
{
 "as_of": "2026-08-18T00:22:42.539Z",
 "query": {
  "q": "above_yesterday_close",
  "limit": 2,
  "order": "day_change_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "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
  },
  {
   "ticker": "FTRA.WS",
   "name": "FutureCorp Space Acquisition 1 Redeemable warrants, each whole warrant exercisable for one Class A ordinary share at an exercise price of $11.50",
   "asset_class": "stocks",
   "asset_type": "WARRANT",
   "price": 205.7752,
   "day_change_pct": 347.7715,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": null
  }
 ]
}
```

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

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=above_yesterday_close" \
  -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_yesterday_close",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "day_change_pct",
  "dir": "desc",
  "fields": [],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 0,
 "results": []
}
```

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

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

```json
{
 "as_of": "2026-08-18T00:22:44.698Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "above_yesterday_close"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "above_yesterday_close": false
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "above_yesterday_close": true
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "above_yesterday_close": true
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "above_yesterday_close": false
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "above_yesterday_close": true
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "above_yesterday_close": 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=above_yesterday_close" -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:46.253Z",
 "query": {
  "kind": "signal",
  "tickers": null,
  "universe": null,
  "since": "2026-01-10T00:00:00.000Z",
  "until": null,
  "limit": 2,
  "signal": "above_yesterday_close",
  "transition": "enter"
 },
 "count": 2,
 "results": [
  {
   "ticker": "ZYBT",
   "ts": "2026-08-14T20:00:00.000Z",
   "kind": "signal",
   "payload": {
    "signal": "above_yesterday_close",
    "transition": "enter",
    "price": 1.58,
    "definition_version": 6
   }
  },
  {
   "ticker": "ZWS",
   "ts": "2026-08-14T20:00:00.000Z",
   "kind": "signal",
   "payload": {
    "signal": "above_yesterday_close",
    "transition": "enter",
    "price": 50.952,
    "definition_version": 6
   }
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-08-18T00:22:46.393Z",
 "ticker": "ZYBT",
 "signal": "above_yesterday_close",
 "count": 2,
 "events": [
  {
   "started_at": "2026-08-14T20:00:00.000Z",
   "ended_at": "2026-08-15T20:00:00.000Z",
   "start_price": 1.58,
   "end_price": 1.58,
   "definition_version": 6
  },
  {
   "started_at": "2026-08-05T20:00:00.000Z",
   "ended_at": "2026-08-06T20:00:00.000Z",
   "start_price": 2.364,
   "end_price": 2.364,
   "definition_version": 6
  }
 ]
}
```

## Related signals (Session levels & position)

- [above_premarket_high](https://tickerbot.io/docs/signals/above_premarket_high.md)
- [above_session_open](https://tickerbot.io/docs/signals/above_session_open.md)
- [above_yesterday_high](https://tickerbot.io/docs/signals/above_yesterday_high.md)
- [at_session_high](https://tickerbot.io/docs/signals/at_session_high.md)
- [at_session_low](https://tickerbot.io/docs/signals/at_session_low.md)
- [below_premarket_low](https://tickerbot.io/docs/signals/below_premarket_low.md)
- [below_yesterday_low](https://tickerbot.io/docs/signals/below_yesterday_low.md)
- [session_high](https://tickerbot.io/docs/signals/session_high.md)
- [session_low](https://tickerbot.io/docs/signals/session_low.md)
- [session_open](https://tickerbot.io/docs/signals/session_open.md)
- [tested_session_high_recent](https://tickerbot.io/docs/signals/tested_session_high_recent.md)
- [tested_session_low_recent](https://tickerbot.io/docs/signals/tested_session_low_recent.md)

---

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