Month-end closes that set a new high for the window, by year (SPY)
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 FINRA Margin Debt Statistics, Explained.
| year | closes_observed | new_highs | cumulative_share_pct |
|---|---|---|---|
| 2006 | 12 | 8 | 66.7 |
| 2007 | 12 | 4 | 50 |
| 2008 | 12 | 0 | 33.3 |
| 2009 | 12 | 0 | 25 |
| 2010 | 12 | 0 | 20 |
| 2011 | 12 | 0 | 16.7 |
| 2012 | 12 | 0 | 14.3 |
| 2013 | 12 | 7 | 19.8 |
| 2014 | 12 | 8 | 25 |
| 2015 | 12 | 2 | 24.2 |
| 2016 | 12 | 4 | 25 |
| 2017 | 12 | 11 | 30.6 |
| 2018 | 12 | 3 | 30.1 |
| 2019 | 12 | 5 | 31 |
| 2020 | 12 | 4 | 31.1 |
| 2021 | 12 | 9 | 33.9 |
| 2022 | 12 | 0 | 31.9 |
| 2023 | 12 | 1 | 30.6 |
| 2024 | 12 | 9 | 32.9 |
| 2025 | 12 | 6 | 33.8 |
| 2026 | 9 | 4 | 34.1 |
- Rows × columns
- 21 × 4
- 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 |
|---|---|---|---|
year |
text | 21 distinct values (2006, 2007, 2008…) | |
closes_observed |
number | 9 to 12 | |
new_highs |
number | 0 to 11 | |
cumulative_share_pct |
number | 14.3 to 66.7 | 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 daily AS
(
SELECT
toDate(toTimeZone(window_start, 'America/New_York')) AS d,
argMax(close, window_start) AS px
FROM global_markets.delayed_stocks_minute_aggs
WHERE ticker = 'SPY'
AND window_start >= toDateTime('2006-01-01 00:00:00')
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
+ toMinute(toTimeZone(window_start, 'America/New_York'))) >= 570
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
+ toMinute(toTimeZone(window_start, 'America/New_York'))) < 960
GROUP BY d
),
month_close AS
(
SELECT
toStartOfMonth(d) AS m,
toFloat64(argMax(px, d)) AS close_px
FROM daily
GROUP BY m
),
peaks AS
(
SELECT
m,
close_px,
max(close_px) OVER (ORDER BY m ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS running_peak
FROM month_close
),
per_year AS
(
SELECT
toYear(m) AS y,
count() AS closes_observed,
countIf(close_px >= running_peak) AS new_highs
FROM peaks
GROUP BY y
)
SELECT
toString(y) AS year,
closes_observed,
new_highs,
round(100 * sum(new_highs) OVER (ORDER BY y ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
/ sum(closes_observed) OVER (ORDER BY y ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 1) AS cumulative_share_pct
FROM per_year
ORDER BY y