STRASMORE/EXPLORE 2,170 QUERIES

SPY / QQQ / DIA / IWM: week of July 20 vs the July 17 close, with the prior week's change

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-12, from Market Recap: Week of July 20, 2026.

as of table 4×5read in context →
SPY / QQQ / DIA / IWM: week of July 20 vs the July 17 close, with the prior week's change — 4 rows by 5 columns, computed from US exchange, SIP and OPRA data.
tickerprior_week_closeweek_closeweek_change_pctprior_week_change_pct
DIA520.76518.79-0.38-0.95
IWM294.09291.2-0.98-0.63
QQQ695.3684.22-1.59-4.17
SPY743.2738.85-0.59-1.55
Rows × columns
4 × 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 SPY / QQQ / DIA / IWM: week of July 20 vs the July 17 close, with the prior week's change, derived from the stored result.
ColumnTypeRangeNotes
ticker text 4 distinct values (DIA, IWM, QQQ…)
prior_week_close number 294.09 to 743.2 US dollars
week_close number 291.2 to 738.85 US dollars
week_change_pct number -1.59 to -0.38 percent
prior_week_change_pct number -4.17 to -0.63 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 ticker,
    round(argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-17 13:30:00' AND window_start < '2026-07-17 20:00:00'), 2) AS prior_week_close,
    round(argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-24 13:30:00' AND window_start < '2026-07-24 20:00:00'), 2) AS week_close,
    round((argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-24 13:30:00' AND window_start < '2026-07-24 20:00:00')
         / argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-17 13:30:00' AND window_start < '2026-07-17 20:00:00') - 1) * 100, 2) AS week_change_pct,
    round((argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-17 13:30:00' AND window_start < '2026-07-17 20:00:00')
         / argMaxIf(toFloat64(close), window_start, window_start >= '2026-07-10 13:30:00' AND window_start < '2026-07-10 20:00:00') - 1) * 100, 2) AS prior_week_change_pct
FROM global_markets.delayed_stocks_minute_aggs
WHERE ticker IN ('SPY', 'QQQ', 'DIA', 'IWM')
  AND ((window_start >= '2026-07-10 13:30:00' AND window_start < '2026-07-10 20:00:00')
    OR (window_start >= '2026-07-17 13:30:00' AND window_start < '2026-07-17 20:00:00')
    OR (window_start >= '2026-07-24 13:30:00' AND window_start < '2026-07-24 20:00:00'))
GROUP BY ticker
ORDER BY ticker

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 analysisMarket Recap: Week of July 20, 2026
Weekly movers: ten biggest gainers and decliners, regular-hours closes, $5M+ traded, splits excluded table 20×6 Sector ETFs, full-week change: July 24 close vs July 17 close ranking 11×3 Top names by regular-hours dollar volume, full week July 20-24 ranking 8×3 Treasury curve by session, July 17 print through July 24 series 6×6 SPY median quoted spread and NBBO updates per session, regular hours, July 20-24 series 5×5 SPY by session: close, change, and share volume, July 20-24 series 5×4 See all 2,170 queries →