STRASMORE/EXPLORE 2,170 QUERIES

The ten S&P sector funds on June 30: change vs Monday's close, and how far each sat behind the leader

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-07-26, from Market Recap: June 30, 2026, The Day in Numbers.

as of table 10×7read in context →
The ten S&P sector funds on June 30: change vs Monday's close, and how far each sat behind the leader — 10 rows by 7 columns, computed from US exchange, SIP and OPRA data.
tickerprior_closeday_closepct_chgis_uppts_behind_leaderday_dollar_bn
XLK185.44190.422.69101.62
XLI182.77185.221.3411.351.08
XLB50.6650.840.3612.330.41
XLY117.1117.270.1512.540.58
XLF53.753.61-0.1702.851.39
XLE53.5753.14-0.803.491.36
XLV160.74158.67-1.2903.971.78
XLU46.0245.34-1.4804.160.77
XLP84.3783.08-1.5304.210.99
XLRE44.9244.02-204.690.38
Rows × columns
10 × 7
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 The ten S&P sector funds on June 30: change vs Monday's close, and how far each sat behind the leader, derived from the stored result.
ColumnTypeRangeNotes
ticker text 10 distinct values (XLB, XLE, XLF…)
prior_close number 44.92 to 185.44 US dollars
day_close number 44.02 to 190.42 US dollars
pct_chg number -2 to 2.69 percent
is_up number 0 to 1
pts_behind_leader number 0 to 4.69
day_dollar_bn number 0.38 to 1.78

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 per_name AS (
    SELECT
        ticker,
        toFloat64(argMaxIf(close, window_start, window_start < '2026-06-30 00:00:00')) AS prior_close,
        toFloat64(argMaxIf(close, window_start, window_start >= '2026-06-30 00:00:00')) AS day_close,
        round(sumIf(toFloat64(close) * toFloat64(volume), window_start >= '2026-06-30 00:00:00') / 1e9, 2) AS day_dollar_bn
    FROM global_markets.delayed_stocks_minute_aggs
    WHERE ticker IN ('XLB', 'XLE', 'XLF', 'XLI', 'XLK', 'XLP', 'XLRE', 'XLU', 'XLV', 'XLY')
      AND ((window_start >= '2026-06-29 13:30:00' AND window_start < '2026-06-29 20:00:00')
        OR (window_start >= '2026-06-30 13:30:00' AND window_start < '2026-06-30 20:00:00'))
    GROUP BY ticker
)
SELECT
    ticker,
    round(prior_close, 2) AS prior_close,
    round(day_close, 2) AS day_close,
    round((day_close / prior_close - 1) * 100, 2) AS pct_chg,
    if(day_close > prior_close, 1, 0) AS is_up,
    round(max((day_close / prior_close - 1) * 100) OVER () - (day_close / prior_close - 1) * 100, 2) AS pts_behind_leader,
    day_dollar_bn
FROM per_name
ORDER BY pct_chg DESC, ticker ASC

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: June 30, 2026, The Day in Numbers
Volume leaders two ways: top 6 by dollars traded, top 4 by shares traded (one reused-symbol listing excluded pending entity verification) table 10×6 Top 5 gainers and top 5 decliners among names with $10M+ traded on June 30 (one reused-symbol listing excluded) table 10×8 The semiconductor and storage names: change vs Monday's close, range, and dollar volume table 6×10 SPY / QQQ / DIA / IWM: June 30 vs the June 29 close, regular hours table 4×8 Crypto-adjacent financials: change vs Monday's close, range, and dollar volume table 4×10 Shares traded per 30-minute bucket, regular hours (billions) series 13×3 See all 2,170 queries →