20-session return versus SPY across a nine-fund ETF universe
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.
| etf | return_pct | excess_vs_spy_pct |
|---|---|---|
| GLD | 13.36 | 9.71 |
| XLE | 6.83 | 3.18 |
| XLV | 6.03 | 2.38 |
| XLK | 4.9 | 1.25 |
| QQQ | 4.62 | 0.97 |
| EFA | 4.58 | 0.93 |
| IWM | 3.07 | -0.58 |
| XLF | 1.55 | -2.1 |
| XLU | -5.24 | -8.89 |
- Rows × columns
- 9 × 3
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
etf |
text | 9 distinct values (EFA, GLD, IWM…) | |
return_pct |
number | -5.24 to 13.36 | percent |
excess_vs_spy_pct |
number | -8.89 to 9.71 | 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 bounds AS
(
SELECT
min(d) AS first_day,
max(d) AS last_day
FROM
(
SELECT date AS d
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SPY'
AND date >= today() - 120
GROUP BY d
ORDER BY d DESC
LIMIT 21
)
)
SELECT
sleeve.ticker AS etf,
sleeve.ret_pct AS return_pct,
round(sleeve.ret_pct - bench.ret_pct, 2) AS excess_vs_spy_pct
FROM
(
SELECT
ticker,
round((argMax(toFloat64(close), date) / argMin(toFloat64(close), date) - 1) * 100, 2) AS ret_pct
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('QQQ', 'IWM', 'XLK', 'XLE', 'XLF', 'XLV', 'XLU', 'GLD', 'EFA')
AND date >= (SELECT first_day FROM bounds)
AND date <= (SELECT last_day FROM bounds)
GROUP BY ticker
) AS sleeve
CROSS JOIN
(
SELECT
round((argMax(toFloat64(close), date) / argMin(toFloat64(close), date) - 1) * 100, 2) AS ret_pct
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SPY'
AND date >= (SELECT first_day FROM bounds)
AND date <= (SELECT last_day FROM bounds)
) AS bench
ORDER BY excess_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
→
Share of each fund's daily variation explained by SPY, trailing two years
ranking 9×2
→
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 →