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-08-22, 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 | 8 | 4 | 34.3 |
- 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 | 8 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.
the exact SQL behind every number
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
Run your own version of this
The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.
More from this analysisFINRA Margin Debt Statistics, Explained
Largest month-over-month declines in SPY month-end closes
ranking 10×2
→
How far SPY travels between month end and the third-week release window
ranking 6×3
→
What the market does between the month-end as-of date and a third-week release
series 21×5
→
Annualized volatility vs total return, 25 large caps, calmest to wildest (~2 years)
ranking 25×3
→
When headlines actually land: article counts by ET clock hour, July 2026
ranking 24×4
→
KO: total cash dividends per share by year
ranking 22×2
→
See all 2,170 queries →