streaks
Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-09-20, from bullish-vs-bearish-meaning.
| streak | direction | days | started | ended | move_pct |
|---|---|---|---|---|---|
| Up run, Feb 2010 | Up streak | 14 | Feb 26, 2010 | Mar 17, 2010 | 5.8 |
| Up run, May 2024 | Up streak | 10 | May 2, 2024 | May 15, 2024 | 5.9 |
| Up run, Apr 2025 | Up streak | 9 | Apr 22, 2025 | May 2, 2025 | 10.3 |
| Up run, Mar 2004 | Up streak | 9 | Mar 24, 2004 | Apr 5, 2004 | 5.3 |
| Up run, Nov 2006 | Up streak | 9 | Nov 10, 2006 | Nov 22, 2006 | 2 |
| Down run, Dec 2007 | Down streak | 8 | Dec 27, 2007 | Jan 8, 2008 | -7.1 |
| Down run, Dec 2018 | Down streak | 8 | Dec 13, 2018 | Dec 24, 2018 | -11.7 |
| Down run, Feb 2020 | Down streak | 7 | Feb 20, 2020 | Feb 28, 2020 | -12.4 |
| Down run, Jul 2011 | Down streak | 7 | Jul 25, 2011 | Aug 2, 2011 | -6.8 |
| Down run, Jun 2006 | Down streak | 7 | Jun 5, 2006 | Jun 13, 2006 | -5 |
- Rows × columns
- 10 × 6
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
streak |
text | 10 distinct values | |
direction |
text | 2 distinct values (Down streak, Up streak) | |
days |
number | 7 to 14 | |
started |
text | 10 distinct values (Apr 22, 2025, Dec 13, 2018, Dec 27, 2007…) | |
ended |
text | 10 distinct values (Apr 5, 2004, Aug 2, 2011, Dec 24, 2018…) | |
move_pct |
number | -12.4 to 10.3 | percent |
Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.
Run it yourself
This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.
WITH bars AS
(
SELECT
date,
toFloat64(any(close)) AS close_price
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SPY'
AND close > 0
GROUP BY date
),
moves AS
(
SELECT
date,
close_price,
lagInFrame(close_price, 1) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS prev_close
FROM bars
),
signs AS
(
SELECT
date,
close_price,
prev_close,
sign(close_price - prev_close) AS dir
FROM moves
WHERE prev_close > 0
),
flags AS
(
SELECT
date,
close_price,
prev_close,
dir,
if(dir != lagInFrame(dir, 1) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 1, 0) AS run_break
FROM signs
),
runs AS
(
SELECT
date,
close_price,
prev_close,
dir,
sum(run_break) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS run_id
FROM flags
),
run_stats AS
(
SELECT
run_id,
any(dir) AS run_dir,
count() AS days,
min(date) AS run_start,
max(date) AS run_end,
round(100 * (argMax(close_price, date) / argMin(prev_close, date) - 1), 1) AS move_pct
FROM runs
WHERE dir != 0
GROUP BY run_id
)
SELECT
concat(if(run_dir = 1, 'Up run, ', 'Down run, '), formatDateTime(run_start, '%b %Y')) AS streak,
if(run_dir = 1, 'Up streak', 'Down streak') AS direction,
days,
concat(formatDateTime(run_start, '%b '), toString(toDayOfMonth(run_start)), ', ', toString(toYear(run_start))) AS started,
concat(formatDateTime(run_end, '%b '), toString(toDayOfMonth(run_end)), ', ', toString(toYear(run_end))) AS ended,
move_pct
FROM run_stats
ORDER BY direction DESC, days DESC, streak ASC
LIMIT 5 BY direction