STRASMORE/EXPLORE 2,170 QUERIES

SPY vs QQQ, normalized return over the last 45 days

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 Free Stock Market Data API, No Key Required.

as of series 33×3read in context →
SPY vs QQQ, normalized return over the last 45 days — 33 rows by 3 columns, computed from US exchange, SIP and OPRA data.
dayspy_return_pctqqq_return_pct
2026-07-0800
2026-07-090.811.5
2026-07-101.271.97
2026-07-130.37-0.24
2026-07-141.041.38
2026-07-151.250.72
2026-07-160.5-1.32
2026-07-17-0.39-2.62
2026-07-20-0.44-2.31
2026-07-210.36-0.51
2026-07-220.17-1.05
2026-07-23-0.88-2.63
2026-07-24-0.9-3.98
2026-07-27-0.87-4.36
2026-07-28-0.24-4.55
2026-07-29-1.74-6.49
2026-07-30-0.28-3.37
2026-07-31-0.16-3.9
2026-08-031.74-1.47
2026-08-043.661.47
2026-08-053.450.59
2026-08-063.170.66
2026-08-073.761.54
2026-08-103.621.08
2026-08-113.430.94
2026-08-123.611.45
2026-08-134.392.81
2026-08-144.112.61
2026-08-173.672.48
2026-08-182.910.55
2026-08-193.30.91
2026-08-202.34-0.22
2026-08-212.890.29
Rows × columns
33 × 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 SPY vs QQQ, normalized return over the last 45 days, derived from the stored result.
ColumnTypeRangeNotes
day date 2026-07-08 to 2026-08-21
spy_return_pct number -1.74 to 4.39 percent
qqq_return_pct number -6.49 to 2.81 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
SELECT day,
       round((spy / first_value(spy) OVER (ORDER BY day ASC) - 1) * 100, 2) AS spy_return_pct,
       round((qqq / first_value(qqq) OVER (ORDER BY day ASC) - 1) * 100, 2) AS qqq_return_pct
FROM (
    SELECT toDate(window_start) AS day,
           argMaxIf(close, window_start, ticker = 'SPY') AS spy,
           argMaxIf(close, window_start, ticker = 'QQQ') AS qqq
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker IN ('SPY', 'QQQ') AND window_start >= now() - INTERVAL 45 DAY
    GROUP BY day
)
ORDER BY day

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 analysisFree Stock Market Data API, No Key Required
Highest large-cap dividend yields, latest session ranking 12×3 End-of-day implied-volatility leaders, liquid underlyings ranking 12×2 Three ways to build a 30-day IV for SPY, from one set of rows series 53×6 Increases against cuts, by week of declaration (complete weeks only) series 26×4 Dividend cuts declared in the last 90 days, the deepest 14 first (one week is too thin for a table) series 14×6 Dividend increases declared in the last 7 days, largest companies first (capped at 12 rows) series 12×8 See all 2,170 queries →