Did XLF Beat the S&P 500 Over the Long Term?
Long-Term Comparison โข Did XLF Beat the S&P 500 Over the Long Term?
๐ก Summary
Did holding XLF outperform the S&P 500 over the long term? From 1998-12-22 to 2026-11-20, XLF had a CAGR of 5.82%, compared with 8.29% for SPY. XLF also had a deeper maximum drawdown, and the historical results cannot establish future performance.
Key Metrics & Specifications
| Test Period | 1998-12-22 to 2026-11-20 |
| Strategy CAGR | 5.82% |
| Strategy Max Drawdown | -82.69% |
| Strategy Sharpe | 0.34 |
| 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 5.81% |
| Rules | Buy US financial stocks (XLF) 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 | 10.96% vs SPY 13.25% from 2018-07 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 5.82% | -82.69% |
| SPY | 8.29% | -55.19% |
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-23. 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.
* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.
The question behind the comparison
A reader searching for XLF long-term returns may want to know whether concentrating on US financial stocks has rewarded investors more than holding a broad S&P 500 fund.
This backtest compares the historical performance of XLF with SPY over the same dates, including returns and drawdowns.
How the rules work
The strategy holds XLF from the start with dividends reinvested. The benchmark holds SPY over the same dates. Decisions use the close, and trades fill at the next day's close.
A buy-and-hold comparison gives readers a way to examine long-term exposure without a recurring trading signal. The strategy was invested in something other than cash on 99.97% of days.
What the results show
Over the full period, XLF had a CAGR of 5.82% and a maximum drawdown of -82.69%. SPY had a CAGR of 8.29% and a maximum drawdown of -55.19%. The Sharpe ratios were 0.34 for XLF and 0.51 for SPY.
In the out-of-sample period starting 2018-07, XLF had a CAGR of 10.96%, compared with 13.25% for SPY. Its Sharpe ratio was 0.57, compared with 0.75 for SPY.
The doubled-cost run produced a CAGR of 5.81% and a maximum drawdown of -82.69%, compared with the base results of 5.82% and -82.69%. The backtest recorded 1 trade.
Where the approach struggles
The strategy concentrates exposure in US financial stocks, so its results can be heavily affected by problems in that sector. In 2008, XLF returned -54.90%, while SPY returned -36.79%.
The full-period maximum drawdown was deeper for XLF than for SPY. The backtest also shows lower XLF returns and a lower Sharpe ratio in both the full period and the out-of-sample period.
This is historical research, not a forecast. Past simulated results do not predict future returns.
โ ๏ธ Risk Considerations
Historical returns and drawdowns do not predict future results, and a long period of weak performance can be difficult to withstand. The cost stress test changes trading costs, but it does not capture every difference between a backtest and actual investing.
๐ฏ Target Audience
This page is for retail investors comparing long-term exposure to US financial stocks with a broad S&P 500 fund.
Frequently Asked Questions (FAQ)
Q. Did XLF outperform SPY over the full backtest?
No. XLF had a CAGR of 5.82%, while SPY had a CAGR of 8.29%.
Q. How did XLF perform in the out-of-sample period?
Starting in 2018-07, XLF had a CAGR of 10.96%, compared with 13.25% for SPY.
Q. Did higher trading costs change the result?
With doubled trading costs, the strategy's CAGR was 5.81%, compared with 5.82% in the base run; maximum drawdown remained -82.69%.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.