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.

2026-07-31as of
SPYbenchmark
11sectors
2leading
4lagging

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).

Grid:

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 XLE Energy $59.55 117.7 +12.6% -3.7% +21.0% +1.01 Leading chart →
2 XLF Financials $56.94 92.2 +3.8% +5.4% -9.3% +1.44 Improving chart →
3 XLP Consumer Staples $85.05 91.3 +1.9% -2.6% -10.4% +0.26 Improving chart →
4 XLRE Real Estate $45.07 92.9 +1.8% -1.8% -8.4% +0.39 Improving chart →
5 XLV Health Care $162.55 103.5 +1.7% +7.6% +4.2% +1.12 Leading chart →
6 XLU Utilities $44.35 89.9 -1.1% -8.9% -12.0% -0.75 Lagging chart →
7 XLB Materials $50.43 97.1 -1.3% -5.9% -3.5% -0.97 Lagging chart →
8 XLC Communication Services $108.24 86.5 -1.5% -11.1% -16.1% -1.15 Lagging chart →
9 XLY Consumer Discretionary $116.09 88.1 -1.9% -5.9% -14.2% -0.43 Lagging chart →
10 XLI Industrials $179.84 100.7 -2.1% -1.0% +0.8% +0.34 Weakening chart →
11 XLK Technology $175.35 111.9 -5.7% +5.9% +14.1% -1.05 Weakening chart →

Medium term · 63 trading days (~3 months)

Rank Ticker Sector Price RS 21d 63d 1y Z Quadrant Chart
1 XLV Health Care $162.55 103.5 +1.7% +7.6% +4.2% +1.12 Leading chart →
2 XLK Technology $175.35 111.9 -5.7% +5.9% +14.1% -1.05 Weakening chart →
3 XLF Financials $56.94 92.2 +3.8% +5.4% -9.3% +1.44 Improving chart →
4 XLI Industrials $179.84 100.7 -2.1% -1.0% +0.8% +0.34 Weakening chart →
5 XLRE Real Estate $45.07 92.9 +1.8% -1.8% -8.4% +0.39 Improving chart →
6 XLP Consumer Staples $85.05 91.3 +1.9% -2.6% -10.4% +0.26 Improving chart →
7 XLE Energy $59.55 117.7 +12.6% -3.7% +21.0% +1.01 Leading chart →
8 XLB Materials $50.43 97.1 -1.3% -5.9% -3.5% -0.97 Lagging chart →
9 XLY Consumer Discretionary $116.09 88.1 -1.9% -5.9% -14.2% -0.43 Lagging chart →
10 XLU Utilities $44.35 89.9 -1.1% -8.9% -12.0% -0.75 Lagging chart →
11 XLC Communication Services $108.24 86.5 -1.5% -11.1% -16.1% -1.15 Lagging chart →

Long term · 252 trading days (~1 year)

Rank Ticker Sector Price RS 21d 63d 1y Z Quadrant Chart
1 XLE Energy $59.55 117.7 +12.6% -3.7% +21.0% +1.01 Leading chart →
2 XLK Technology $175.35 111.9 -5.7% +5.9% +14.1% -1.05 Weakening chart →
3 XLV Health Care $162.55 103.5 +1.7% +7.6% +4.2% +1.12 Leading chart →
4 XLI Industrials $179.84 100.7 -2.1% -1.0% +0.8% +0.34 Weakening chart →
5 XLB Materials $50.43 97.1 -1.3% -5.9% -3.5% -0.97 Lagging chart →
6 XLRE Real Estate $45.07 92.9 +1.8% -1.8% -8.4% +0.39 Improving chart →
7 XLF Financials $56.94 92.2 +3.8% +5.4% -9.3% +1.44 Improving chart →
8 XLP Consumer Staples $85.05 91.3 +1.9% -2.6% -10.4% +0.26 Improving chart →
9 XLU Utilities $44.35 89.9 -1.1% -8.9% -12.0% -0.75 Lagging chart →
10 XLY Consumer Discretionary $116.09 88.1 -1.9% -5.9% -14.2% -0.43 Lagging chart →
11 XLC Communication Services $108.24 86.5 -1.5% -11.1% -16.1% -1.15 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.

Leading 2

RS > 100 and 21d outperformance positive — strongest cohort

  • XLV Health Care +7.6%
  • XLE Energy -3.7%
Improving 3

RS < 100 but 21d outperformance positive — momentum rebuilding

  • XLF Financials +5.4%
  • XLRE Real Estate -1.8%
  • XLP Consumer Staples -2.6%
Weakening 2

RS > 100 but 21d outperformance turning negative — rotation candidate

  • XLK Technology +5.9%
  • XLI Industrials -1.0%
Lagging 4

RS < 100 and 21d outperformance negative — broadly out of favor

  • XLB Materials -5.9%
  • XLY Consumer Discretionary -5.9%
  • XLU Utilities -8.9%
  • XLC Communication Services -11.1%

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).