AvalonQuant Research
Stories & guides
Home › Long-Term Comparison

Does XLY Beat the S&P 500 Over the Long Term?

Source-referenced guide • Reviewed: • Source reference
Does XLY Beat the S&P 500 Over the Long Term?
AVALONQUANT Editorial Guide

Long-Term Comparison • Does XLY Beat the S&P 500 Over the Long Term?

📸 Historical experiment review EDITORIAL-REVIEW • 2026-10

💡 Summary

Can holding XLY outperform a broad US stock market fund over the long term? From 1998-12-22 to 2026-11-20, XLY returned 9.30% annualized versus 8.29% for SPY, but had a deeper maximum drawdown and lagged SPY in the out-of-sample period.

Key Metrics & Specifications

Test Period 1998-12-22 to 2026-11-20
Strategy CAGR 9.30%
Strategy Max Drawdown -59.05%
Strategy Sharpe 0.51
SPY CAGR 8.29%
SPY Max Drawdown -55.19%
Execution & Costs Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 9.30%
Rules Buy US consumer discretionary stocks (XLY) at the start and hold it with dividends reinvested. Compare with holding SPY over the same dates. Decisions use the close; trades fill at the next day's close.
Out-of-Sample CAGR 9.90% vs SPY 13.25% from 2018-07

What the experiment recorded

RunCAGRMax drawdown
Strategy9.30%-59.05%
SPY8.29%-55.19%
Portfolio value (start = 100) 70 704 1339 1998-12-22 2026-11-20
● Strategy● SPY buy and hold

Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.

1998-12-22 – 2026-11-20. Export dated 2026-11-24. Historical simulation; future results can differ. Read the underlying experiment.

⚡ Interactive Compound Growth Simulator

Adjust initial investment and holding duration to calculate compounded terminal wealth.

CAGR 9.3%
Initial Principal $10,000
$1,000 $100,000
Holding Horizon 10 Years
1 Year 20 Years
Estimated Wealth
$24,333
Compound Gain
+$14,333
Growth Factor
2.43x

* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.

Research tool

Compare investment strategies

Explore the assumptions and results behind different historical strategies.

Historical results do not guarantee future returns.

The question behind the comparison

Investors may wonder whether focusing on US consumer discretionary stocks has historically delivered better returns than holding a broad fund that tracks the S&P 500. This backtest compares XLY with SPY over the same period.

How the rules work

The strategy holds XLY from the start, reinvests dividends, and does not exit the position. The comparison holds SPY over the same dates. Decisions use the close, and trades fill at the next day's close.

A holding approach offers a way to examine long-term exposure to a sector without relying on repeated timing decisions. Consumer discretionary stocks represent a narrower part of the market than the S&P 500.

What the results show

Over the full period, the strategy's annualized return was 9.30%, compared with 8.29% for SPY. Its maximum drawdown was -59.05%, compared with -55.19% for SPY, and both had a Sharpe ratio of 0.51.

In the out-of-sample period starting in 2018-07, the strategy returned 9.90% annualized versus 13.25% for SPY. Doubling the assumed trading cost left the strategy's annualized return at 9.30% and its maximum drawdown at -59.05%; the backtest recorded 1 trade.

Where the approach struggles

The strategy remains exposed to market declines rather than moving to cash: it was invested on 99.97% of days. Its worst calendar year was 2022, when it returned -36.27% versus -18.18% for SPY.

The deeper full-period drawdown and weaker out-of-sample return show that a higher return over the full test did not come with consistently better results.

This is historical research, not a forecast. Past simulated results do not predict future returns.

⚠️ Risk Considerations

Historical backtests cannot establish how XLY or SPY will perform in the future. The results depend on the selected dates and assumptions, and a concentrated sector holding can experience substantial losses.

🎯 Target Audience

This page is for readers comparing long-term consumer discretionary exposure with a broad US stock market fund.

Frequently Asked Questions (FAQ)

Q. Did XLY outperform SPY over the full backtest?

Yes. The strategy returned 9.30% annualized, compared with 8.29% for SPY, over the full period.

Q. Did XLY outperform in the out-of-sample period?

No. From 2018-07, the strategy returned 9.90% annualized versus 13.25% for SPY.

Q. How did higher trading costs affect the results?

The doubled-cost run reported an annualized return of 9.30% and a maximum drawdown of -59.05%, the same displayed figures as the main run. The backtest recorded 1 trade.

Research tool

Compare investment strategies

Explore the assumptions and results behind different historical strategies.

Historical results do not guarantee future returns.

Related Research & Comparative Analyses

View all →