STRASMORE/EXPLORE 3,293 QUERIES

path_vs_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 nke-decline-from-peak.

as of series 60×3read in context →
path_vs_spy — 60 rows by 3 columns, computed from US exchange, SIP and OPRA data.
monthnke_vs_peak_pctspy_same_window_pct
2021-11-01-4.7-2.8
2021-12-01-6.11.4
2022-01-01-16.6-4
2022-02-01-23.1-6.8
2022-03-01-24.2-3.6
2022-04-01-29.8-12.1
2022-05-01-33-11.9
2022-06-01-42.4-19.5
2022-07-01-35.3-12.1
2022-08-01-40-15.7
2022-09-01-53.2-23.8
2022-10-01-47.8-17.6
2022-11-01-38.2-13
2022-12-01-34.1-18.4
2023-01-01-28.3-13.2
2023-02-01-33.1-15.4
2023-03-01-30.9-12.6
2023-04-01-28.6-11.2
2023-05-01-40.7-10.8
2023-06-01-37.8-5.4
2023-07-01-37.8-2.3
2023-08-01-42.7-3.9
2023-09-01-46.1-8.8
2023-10-01-42.1-10.7
2023-11-01-37.9-2.6
2023-12-01-38.81.4
2024-01-01-42.83.1
2024-02-01-41.58.4
2024-03-01-47.111.6
2024-04-01-487.1
2024-05-01-46.512.6
2024-06-01-57.516.2
2024-07-01-57.817.6
2024-08-01-53.120.3
2024-09-01-50.222.5
2024-10-01-56.521.4
2024-11-01-55.628.6
2024-12-01-57.425.1
2025-01-01-56.728.4
2025-02-01-55.326.8
2025-03-01-64.219.4
2025-04-01-68.218.4
2025-05-01-65.925.8
2025-06-01-6031.9
2025-07-01-57.934.9
2025-08-01-56.437.7
2025-09-01-60.742.2
2025-10-01-63.645.6
2025-11-01-63.645.9
2025-12-01-64.145.5
2026-01-01-65.247.7
2026-02-01-6546.4
2026-03-01-70.238.8
2026-04-01-7553.4
2026-05-01-7461.5
2026-06-01-76.959.4
2026-07-01-76.559.4
2026-08-01-7863.7
2026-09-01-80.162.8
2026-10-01-78.261.3
Rows × columns
60 × 3
Period covered
to
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 path_vs_spy, derived from the stored result.
ColumnTypeRangeNotes
month date 2021-11-01 to 2026-10-01
nke_vs_peak_pct number -80.1 to -4.7 percent
spy_same_window_pct number -23.8 to 63.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.

SELECT
    toStartOfMonth(a.date)                                                                                AS month,
    round((toFloat64(argMaxIf(a.close, a.date, a.ticker = 'NKE')) / any(p.nke_peak_close) - 1) * 100, 1)  AS nke_vs_peak_pct,
    round((toFloat64(argMaxIf(a.close, a.date, a.ticker = 'SPY')) / any(p.spy_base_close) - 1) * 100, 1)  AS spy_same_window_pct
FROM global_markets.stocks_daily_aggs AS a
CROSS JOIN
(
    SELECT
        any(n.peak_date)     AS peak_date,
        any(n.peak_close)    AS nke_peak_close,
        any(s.spy_close)     AS spy_base_close
    FROM
    (
        SELECT
            argMax(date, toFloat64(close))   AS peak_date,
            max(toFloat64(close))            AS peak_close
        FROM global_markets.stocks_daily_aggs
        WHERE ticker = 'NKE'
          AND date >= '2016-01-01'
    ) AS n
    INNER JOIN
    (
        SELECT
            date,
            toFloat64(any(close))  AS spy_close
        FROM global_markets.stocks_daily_aggs
        WHERE ticker = 'SPY'
          AND date >= '2016-01-01'
        GROUP BY date
    ) AS s ON s.date = n.peak_date
) AS p
WHERE a.ticker IN ('NKE', 'SPY')
  AND a.date >= p.peak_date
GROUP BY month
ORDER BY month
⌘/Ctrl + Enter

Work with this data in your AI assistant

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