STRASMORE/EXPLORE 3,293 QUERIES
Full options quote history: clean NBBO bid/ask snapshots for any US option contract at the interval you choose, by SQL API, $79 a month. See the options quotes plan

Deepest closing declines from a record close, 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-11-01, from Investing at All-Time Highs: What the Data Says.

as of table 7×5read in context →
Deepest closing declines from a record close, SPY — 7 rows by 5 columns, computed from US exchange, SIP and OPRA data.
peak_labeltrough_labeldecline_pctdays_to_new_highnew_high_label
Oct 9, 2007Mar 9, 200956.51983Mar 14, 2013
Feb 19, 2020Mar 23, 202034.1181Aug 18, 2020
Jan 3, 2022Oct 12, 202225.4746Jan 19, 2024
Sep 20, 2018Dec 24, 201820.2221Apr 29, 2019
Feb 19, 2025Apr 8, 202519128Jun 27, 2025
May 21, 2015Feb 11, 201614.4418Jul 12, 2016
Jan 26, 2018Apr 2, 201810.2210Aug 24, 2018
Rows × columns
7 × 5
Computed
Completeness
No missing values
Source
US exchange, SIP and OPRA market data
Licence
Strasmore terms · free, no signup
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for Deepest closing declines from a record close, SPY, derived from the stored result.
ColumnTypeRangeNotes
peak_label text 7 distinct values (Feb 19, 2020, Feb 19, 2025, Jan 26, 2018…)
trough_label text 7 distinct values (Apr 2, 2018, Apr 8, 2025, Dec 24, 2018…)
decline_pct number 10.2 to 56.5 percent
days_to_new_high number 128 to 1,983 US dollars
new_high_label text 7 distinct values (Apr 29, 2019, Aug 18, 2020, Aug 24, 2018…)

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
            date,
            toFloat64(argMax(close, _ingest_time)) AS close
        FROM global_markets.stocks_daily_aggs
        WHERE ticker = 'SPY'
        GROUP BY date
    ),
    flagged AS
    (
        SELECT
            date,
            close,
            close >= max(close) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS is_record,
            min(date) OVER ()                                                                          AS series_start
        FROM daily
    ),
    runs AS
    (
        SELECT
            date,
            close,
            series_start,
            max(if(is_record = 1, date, toDate('1970-01-01'))) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS peak_date
        FROM flagged
    ),
    by_peak AS
    (
        SELECT
            peak_date,
            argMin(close, date) AS peak_close,
            min(close)          AS trough_close,
            argMin(date, close) AS trough_date
        FROM runs
        WHERE peak_date >= addYears(series_start, 4)
        GROUP BY peak_date
    ),
    with_next AS
    (
        SELECT
            peak_date,
            peak_close,
            trough_close,
            trough_date,
            leadInFrame(peak_date, 1) OVER (ORDER BY peak_date ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS next_peak
        FROM by_peak
    )
SELECT
    formatDateTime(peak_date, '%b %e, %Y')                                        AS peak_label,
    formatDateTime(trough_date, '%b %e, %Y')                                      AS trough_label,
    round(100 * (1 - trough_close / peak_close), 1)                               AS decline_pct,
    if(next_peak > peak_date, dateDiff('day', peak_date, next_peak), 0)           AS days_to_new_high,
    if(next_peak > peak_date, formatDateTime(next_peak, '%b %e, %Y'), 'not yet')  AS new_high_label
FROM with_next
WHERE decline_pct >= 10
ORDER BY decline_pct DESC
LIMIT 10
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.

More from this analysisInvesting at All-Time Highs: What the Data Says
Record closes per year, SPY (price basis, first four years of the file excluded) table 20×7 → Forward price change after record closes vs all other sessions, SPY table 3×7 → Calendar days from a record close to the next one, SPY ranking 5×4 → SPY versus its hike-day close, week by week, three cycles aligned table 53×4 → Every SPY death cross in the daily data, with forward returns table 11×6 → Forward record after a SPY death cross, by horizon table 4×9 → See all 3,293 queries →