STRASMORE/EXPLORE 2,170 QUERIES

Share of each fund's daily variation explained by SPY, trailing two years

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 ETF Relative Strength and Alpha Attribution.

as of ranking 9×2read in context →
Share of each fund's daily variation explained by SPY, trailing two years — 9 rows by 2 columns, computed from US exchange, SIP and OPRA data.
etfr_squared_vs_spy_pct
QQQ90.4
XLK80.5
IWM72.2
EFA57.1
XLF55
XLV19.2
XLE12
XLU10.4
GLD2.9
Rows × columns
9 × 2
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 Share of each fund's daily variation explained by SPY, trailing two years, derived from the stored result.
ColumnTypeRangeNotes
etf text 9 distinct values (EFA, GLD, IWM…)
r_squared_vs_spy_pct number 2.9 to 90.4 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
WITH daily AS
(
    SELECT
        ticker,
        date,
        toFloat64(close) AS px,
        lagInFrame(toFloat64(close)) OVER (PARTITION BY ticker ORDER BY date ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) AS prev_px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker IN ('SPY', 'QQQ', 'IWM', 'XLK', 'XLE', 'XLF', 'XLV', 'XLU', 'GLD', 'EFA')
      AND date >= today() - 760
)
SELECT
    sleeve.ticker                                                AS etf,
    round(pow(corr(sleeve.fund_ret, bench.spy_ret), 2) * 100, 1) AS r_squared_vs_spy_pct
FROM
(
    SELECT ticker, date, px / prev_px - 1 AS fund_ret
    FROM daily
    WHERE prev_px > 0
      AND ticker != 'SPY'
) AS sleeve
INNER JOIN
(
    SELECT date, px / prev_px - 1 AS spy_ret
    FROM daily
    WHERE prev_px > 0
      AND ticker = 'SPY'
) AS bench USING (date)
GROUP BY sleeve.ticker
ORDER BY r_squared_vs_spy_pct DESC

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 analysisETF Relative Strength and Alpha Attribution
Annualized volatility and worst single session, trailing two years ranking 10×3 20-session return versus SPY across a nine-fund ETF universe ranking 9×3 Strongest and weakest sleeve versus SPY, by calendar month series 13×4 When market headlines publish, by New York clock hour ranking 24×2 When headlines actually land: article counts by ET clock hour, July 2026 ranking 24×4 A 15% cap and 9% buffer, seen from three entry points ranking 21×4 See all 2,170 queries →