View as markdown
Concepts › SignalsPrice action Performance & change

days_down

Consecutive trading days closing lower than the prior close. Resets to 0 on an up 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_down above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/days_down" \
  --data-urlencode "condition=> 5" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:18.247Z",
 "signal": "days_down",
 "condition": "> 5",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "GYGY",
   "name": "Game Your Game, Inc. Common Stock",
   "value": 12
  },
  {
   "ticker": "BBD",
   "name": "Banco Bradesco S.A. American Depositary Shares (Each representing one Preferred Shares)",
   "value": 10
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/days_down" \
  --data-urlencode "condition=> 5" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "signal": "days_down",
 "condition": "> 5",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "NIVF",
   "name": "NewGenIvf Group Limited Class A ordinary shares",
   "value": 16
  },
  {
   "ticker": "OPTU",
   "name": "Optimum Communications, Inc.",
   "value": 13
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/days_down/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 5", "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_down IS NOT NULL" \
  -d "order=days_down" -d "columns=days_down" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:21.667Z",
 "query": {
  "q": "days_down IS NOT NULL",
  "limit": 2,
  "order": "days_down",
  "dir": "desc",
  "fields": [
   "days_down"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "GYGY",
   "name": "Game Your Game, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 1.95,
   "day_change_pct": -0.1014,
   "gap_pct": null,
   "relative_volume": null,
   "market_cap": 31221960,
   "days_down": 12
  },
  {
   "ticker": "BBD",
   "name": "Banco Bradesco S.A. American Depositary Shares (Each representing one Preferred Shares)",
   "asset_class": "stocks",
   "asset_type": "ADRC",
   "price": 3.11,
   "day_change_pct": -0.0096,
   "gap_pct": -0.0032,
   "relative_volume": null,
   "market_cap": 34199857166,
   "days_down": 10
  }
 ]
}
As-of — the same scan at a past date
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=days_down IS NOT NULL" \
  -d "order=days_down" -d "columns=days_down" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-05-20",
 "query": {
  "q": "days_down IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "days_down",
  "dir": "desc",
  "fields": [
   "days_down"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "NIVF",
   "name": "NewGenIvf Group Limited Class A ordinary shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 0.7391,
   "day_change_pct": -14.167924747416096,
   "gap_pct": -4.772964812449196,
   "relative_volume": 0.2166735794703509,
   "market_cap": null,
   "days_down": 16
  },
  {
   "ticker": "OPTU",
   "name": "Optimum Communications, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 0.6514,
   "day_change_pct": -3.338774298857408,
   "gap_pct": -0.5787208784686176,
   "relative_volume": 1.1533600409732343,
   "market_cap": null,
   "days_down": 13
  }
 ]
}
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_down > 5", "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_down" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-08-18, trimmed)
{
 "as_of": "2026-08-18T00:23:24.150Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "days_down"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "days_down": 2
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "days_down": 0
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "days_down": 0
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "days_down": 0
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "days_down": 0
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "days_down": 1
   }
  ]
 }
}

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

Related signals — Performance & change