← tickerbot.io
View as markdown

days_down

Consecutive trading days closing lower than the prior close. Resets to 0 on an up day.

metadata
typeinteger
unitdays
cadencepost-close daily
intervals1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker with days_down above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/days_down" \
  --data-urlencode "condition=> 6" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:05.400Z",
 "signal": "days_down",
 "condition": "> 6",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "CDT",
   "name": "CDT Equity Inc. Common Stock",
   "value": 20
  },
  {
   "ticker": "GMEX",
   "name": "GMEX ROBOTICS CORPORATION Class A Ordinary Shares",
   "value": 14
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/days_down" \
  --data-urlencode "condition=> 6" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "days_down",
 "condition": "> 6",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "ONFO",
   "name": "Onfolio Holdings Inc. Common Stock",
   "value": 15
  },
  {
   "ticker": "CRM",
   "name": "Salesforce, 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": "> 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.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "days_down IS NOT NULL", "order": "days_down", "columns": "days_down" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:09.338Z",
 "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": "CDT",
   "name": "CDT Equity Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 0.169,
   "change_1d_pct": -10.81794195250659,
   "gap_pct": -15.0396,
   "relative_volume": 1.5239,
   "market_cap": 2711385,
   "days_down": 20
  },
  {
   "ticker": "GMEX",
   "name": "GMEX ROBOTICS CORPORATION Class A Ordinary Shares",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 0.439,
   "change_1d_pct": 6.8126520681265275,
   "gap_pct": -4.6472,
   "relative_volume": 0.3906,
   "market_cap": 385851,
   "days_down": 14
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "days_down IS NOT NULL", "order": "days_down", "columns": "days_down", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "days_down IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "days_down",
  "dir": "desc",
  "fields": [
   "days_down"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "ONFO",
   "name": "Onfolio Holdings Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 12.55,
   "change_1d_pct": -17.352650642081,
   "gap_pct": -0.8890352321369758,
   "relative_volume": 0.9353108551080741,
   "market_cap": 1451053,
   "days_down": 15
  },
  {
   "ticker": "CRM",
   "name": "Salesforce, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 151.78,
   "change_1d_pct": -2.09005289640047,
   "gap_pct": -1.4772287446781192,
   "relative_volume": 3.4475185210578756,
   "market_cap": 145810340000,
   "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 > 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.

Its history /v2/series

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-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:12.056Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "days_down"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "days_down": 1
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "days_down": 0
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "days_down": 0
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "days_down": 1
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "days_down": 2
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "days_down": 0
   }
  ]
 }
}

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

Related signals — Performance & change