View as markdown
Concepts › SignalsPrice action Performance & change

days_up

Consecutive trading days closing higher than the prior close. Resets to 0 on a down day.

Watch this signal live on real tickers: Open in Explore →

At a glance

Typeinteger
GroupPrice action
CategoryPerformance & change
Unitdays
Update cadencepost-close daily
Intervals1d
Universeall tickers
Historyfull · since 2003
Nullableyes — NULL where not applicable

Price change over standard horizons — today through 1 year — plus streaks and day-mover flags.

Query it

Every applicable form factor, grouped by endpoint family. Swap YOUR_KEY for the value from /dashboard/keys. 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. Docs →

Live — every ticker with days_up above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/days_up" \
  --data-urlencode "condition=> 6" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:21.914Z",
 "signal": "days_up",
 "condition": "> 6",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "CMBO",
   "name": "Wayfinder Dynamic U.S. Interest Rate ETF",
   "value": 24
  },
  {
   "ticker": "PSKY",
   "name": "Paramount Skydance Corporation Class B Common Stock",
   "value": 12
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/days_up" \
  --data-urlencode "condition=> 6" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "signal": "days_up",
 "condition": "> 6",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "SGOV",
   "name": "iShares 0-3 Month Treasury Bond ETF",
   "value": 13
  },
  {
   "ticker": "CLOC",
   "name": "AAM Crescent CLO ETF",
   "value": 12
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/days_up/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 6", "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. Docs →

Live — the whole market, ranked by this column
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=days_up IS NOT NULL" \
  -d "order=days_up" -d "columns=days_up" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:25.525Z",
 "query": {
  "q": "days_up IS NOT NULL",
  "limit": 2,
  "order": "days_up",
  "dir": "desc",
  "fields": [
   "days_up"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "CMBO",
   "name": "Wayfinder Dynamic U.S. Interest Rate ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 103.25,
   "day_change_pct": 0.0001,
   "gap_pct": 0.0001,
   "relative_volume": null,
   "market_cap": null,
   "days_up": 24
  },
  {
   "ticker": "PSKY",
   "name": "Paramount Skydance Corporation Class B Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 10.219,
   "day_change_pct": 0.0078,
   "gap_pct": -0.0089,
   "relative_volume": 0.4321,
   "market_cap": 11376530199,
   "days_up": 12
  }
 ]
}
As-of — the same scan at a past date
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=days_up IS NOT NULL" \
  -d "order=days_up" -d "columns=days_up" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "query": {
  "q": "days_up IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "days_up",
  "dir": "desc",
  "fields": [
   "days_up"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "SGOV",
   "name": "iShares 0-3 Month Treasury Bond ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 100.58,
   "day_change_pct": 0.00994332305857126,
   "gap_pct": 0.00994332305857126,
   "relative_volume": 0.8860246157157041,
   "market_cap": null,
   "days_up": 13
  },
  {
   "ticker": "CLOC",
   "name": "AAM Crescent CLO ETF",
   "asset_class": "stocks",
   "asset_type": "ETF",
   "price": 25.07,
   "day_change_pct": 0.07984031936127574,
   "gap_pct": 0.03992015968063078,
   "relative_volume": null,
   "market_cap": null,
   "days_up": 12
  }
 ]
}
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": "days_up > 6", "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. Docs →

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,days_up" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:27.329Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "days_up"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "days_up": 0
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "days_up": 1
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "days_up": 2
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "days_up": 3
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "days_up": 1
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "days_up": 0
   }
  ]
 }
}

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

Related signals — Performance & change