Pattern Lab · Methodology + live rankings
Sector Relative Strength.
Rotational rankings of the eleven SPDR sector ETFs against the S&P 500 (SPY). Each sector gets four readings: an RS-ratio (sector / benchmark, normalised to 100 a year ago), 21-day · 63-day · 252-day outperformance in percentage points vs SPY, and a Z-score of the current RS-ratio against its trailing 63-day mean — a mean-reversion signal. Sectors are sorted by 63-day outperformance descending and assigned a JdK-style RRG quadrant.
Sector charts
Compare any of the 12 SPDR ETFs + SPY side-by-side. Per-cell ticker, range, and oscillator toggles. Reuses the same indicator set as the Rubin charts terminal — including Directional Flow (DF) and DF % (the 0-100 tanh-normalised view).
The rule
For each sector ETF: compute the relative-strength ratio against SPY, normalise it to 100 at the start of a 252-day window, and track its level and trajectory. Sectors above 100 with positive short-term outperformance are leading; sectors below 100 with negative outperformance are lagging. The remaining two quadrants — weakening and improving — are the rotation candidates.
The Z-score against the trailing 63-day mean is the mean-reversion overlay: a sector with Z > +2 is statistically stretched relative to its own recent history; a sector with Z < −2 is unusually compressed. Both edges are candidates for reversal, regardless of which quadrant they currently occupy.
Data is refreshed daily from EODHD (close prices). Re-run
workers/jensen-backtest/scripts/fetch-sector-rs-prices.mjs and rebuild.
Rankings · three timeframes, separately sorted
Same eleven sectors, three independent sort lenses. A name that leads on 21d but lags on 252d is a fresh rotation candidate; one that leads on 252d but lags on 21d is a tired leader. The full picture only emerges when all three horizons are read together.
Short term · 21 trading days (~1 month)
| Rank | Ticker | Sector | Price | RS | 21d | 63d | 1y | Z | Quadrant | Chart |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | XLI | Industrials | $178.15 | 101.9 | +5.7% | -2.7% | +2.3% | +0.35 | Leading | chart → |
| 2 | XLF | Financials | $53.88 | 87.4 | +5.5% | -2.5% | -15.8% | +0.56 | Improving | chart → |
| 3 | XLK | Technology | $184.19 | 123.6 | +4.2% | +22.4% | +29.4% | +1.13 | Leading | chart → |
| 4 | XLV | Health Care | $152.18 | 94.0 | +4.1% | -6.6% | -7.5% | +0.12 | Improving | chart → |
| 5 | XLB | Materials | $50.87 | 96.5 | +3.1% | -4.8% | -4.3% | -0.63 | Improving | chart → |
| 6 | XLRE | Real Estate | $44.64 | 89.3 | +2.2% | -1.4% | -13.4% | +0.20 | Improving | chart → |
| 7 | XLU | Utilities | $45.07 | 92.5 | +1.8% | -10.9% | -9.3% | -0.41 | Improving | chart → |
| 8 | XLP | Consumer Staples | $83.72 | 85.7 | +0.6% | -8.4% | -17.9% | -0.37 | Improving | chart → |
| 9 | XLY | Consumer Discretionary | $113.76 | 87.4 | -3.0% | -8.7% | -15.7% | -1.52 | Lagging | chart → |
| 10 | XLE | Energy | $54.46 | 102.0 | -6.3% | -20.2% | +2.4% | -1.04 | Weakening | chart → |
| 11 | XLC | Communication Services | $107.27 | 84.8 | -6.4% | -16.8% | -18.9% | -1.72 | Lagging | chart → |
Medium term · 63 trading days (~3 months)
| Rank | Ticker | Sector | Price | RS | 21d | 63d | 1y | Z | Quadrant | Chart |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | XLK | Technology | $184.19 | 123.6 | +4.2% | +22.4% | +29.4% | +1.13 | Leading | chart → |
| 2 | XLRE | Real Estate | $44.64 | 89.3 | +2.2% | -1.4% | -13.4% | +0.20 | Improving | chart → |
| 3 | XLF | Financials | $53.88 | 87.4 | +5.5% | -2.5% | -15.8% | +0.56 | Improving | chart → |
| 4 | XLI | Industrials | $178.15 | 101.9 | +5.7% | -2.7% | +2.3% | +0.35 | Leading | chart → |
| 5 | XLB | Materials | $50.87 | 96.5 | +3.1% | -4.8% | -4.3% | -0.63 | Improving | chart → |
| 6 | XLV | Health Care | $152.18 | 94.0 | +4.1% | -6.6% | -7.5% | +0.12 | Improving | chart → |
| 7 | XLP | Consumer Staples | $83.72 | 85.7 | +0.6% | -8.4% | -17.9% | -0.37 | Improving | chart → |
| 8 | XLY | Consumer Discretionary | $113.76 | 87.4 | -3.0% | -8.7% | -15.7% | -1.52 | Lagging | chart → |
| 9 | XLU | Utilities | $45.07 | 92.5 | +1.8% | -10.9% | -9.3% | -0.41 | Improving | chart → |
| 10 | XLC | Communication Services | $107.27 | 84.8 | -6.4% | -16.8% | -18.9% | -1.72 | Lagging | chart → |
| 11 | XLE | Energy | $54.46 | 102.0 | -6.3% | -20.2% | +2.4% | -1.04 | Weakening | chart → |
Long term · 252 trading days (~1 year)
| Rank | Ticker | Sector | Price | RS | 21d | 63d | 1y | Z | Quadrant | Chart |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | XLK | Technology | $184.19 | 123.6 | +4.2% | +22.4% | +29.4% | +1.13 | Leading | chart → |
| 2 | XLE | Energy | $54.46 | 102.0 | -6.3% | -20.2% | +2.4% | -1.04 | Weakening | chart → |
| 3 | XLI | Industrials | $178.15 | 101.9 | +5.7% | -2.7% | +2.3% | +0.35 | Leading | chart → |
| 4 | XLB | Materials | $50.87 | 96.5 | +3.1% | -4.8% | -4.3% | -0.63 | Improving | chart → |
| 5 | XLV | Health Care | $152.18 | 94.0 | +4.1% | -6.6% | -7.5% | +0.12 | Improving | chart → |
| 6 | XLU | Utilities | $45.07 | 92.5 | +1.8% | -10.9% | -9.3% | -0.41 | Improving | chart → |
| 7 | XLRE | Real Estate | $44.64 | 89.3 | +2.2% | -1.4% | -13.4% | +0.20 | Improving | chart → |
| 8 | XLY | Consumer Discretionary | $113.76 | 87.4 | -3.0% | -8.7% | -15.7% | -1.52 | Lagging | chart → |
| 9 | XLF | Financials | $53.88 | 87.4 | +5.5% | -2.5% | -15.8% | +0.56 | Improving | chart → |
| 10 | XLP | Consumer Staples | $83.72 | 85.7 | +0.6% | -8.4% | -17.9% | -0.37 | Improving | chart → |
| 11 | XLC | Communication Services | $107.27 | 84.8 | -6.4% | -16.8% | -18.9% | -1.72 | Lagging | chart → |
Bold-highlighted column = the timeframe each table is sorted by. The
chart → link opens the per-ticker chart at /indices/stock/?t=…
with OHLC + SMA + RSI. v2 follow-up: extend the Rubin-style charts terminal
(full oscillator set + Directional Flow) to SPDR ETFs.
By quadrant
JdK-style RRG mapping. RS-ratio on the vertical axis (above / below 100), 21-day outperformance on the horizontal axis (positive / negative). The four quadrants encode where each sector sits in its rotational cycle.
RS > 100 and 21d outperformance positive — strongest cohort
- XLK Technology +22.4%
- XLI Industrials -2.7%
RS < 100 but 21d outperformance positive — momentum rebuilding
- XLRE Real Estate -1.4%
- XLF Financials -2.5%
- XLB Materials -4.8%
- XLV Health Care -6.6%
- XLP Consumer Staples -8.4%
- XLU Utilities -10.9%
RS > 100 but 21d outperformance turning negative — rotation candidate
- XLE Energy -20.2%
RS < 100 and 21d outperformance negative — broadly out of favor
- XLY Consumer Discretionary -8.7%
- XLC Communication Services -16.8%
Sector RS is a structural overlay. It says where dispersion sits across the SPDR cohort and which sectors are entering or leaving the leading-quadrant cluster. It does not say what to do about it; that's a function of the user's framework (regime, time horizon, mean-reversion vs. momentum bias).
Sector Rotation (37-sector Closelook view) · Global Sectors (11×4 region matrix)