RSI(14) Mean Reversion on XLY
Consumer Discretionary Select Sector SPDR Fund: consumer discretionary stocks, a cyclical read on the US consumer. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The RSI mean reversion template enters when the 14-day RSI finishes a session under 30, at the following open. It exits everything the open after RSI finishes a session over 70. No stop or profit target is attached. XLY, the Consumer Discretionary Select Sector SPDR Fund, holds consumer discretionary stocks and fell 36.28% in calendar 2022, which makes it a hard test for a rule that buys weakness without a stop.
From 2021-01-04 to 2026-10-02 the rule turned $10,000 into $14,746.54, a total return of 47.47% and a CAGR of 7%. Buy-and-hold on XLY with 98% invested ended at $14,177.03, a CAGR of 6.27%. The rule finished $569.51 ahead and its maximum drawdown was 20.65% against 39.06% for holding. The rule made 15 closed round trips, 11 of them winners, and a 16th trade was still open on the last day.
Those figures hide how uneven the path was. The rule trailed buy-and-hold in four of the six calendar years and won the other two by wide margins. It was invested 38.6% of the time. Three losing trades in 2022 account for most of its weakest stretch, and a run of 4 winners in 2023 and a 20-day trade in August 2024 account for much of its gain.
The threshold variants matter more than usual here, because the default came out only slightly ahead of buy-and-hold and two of the four variants did worse.
Year by year
| Year | RSI mean reversion | buy & hold |
|---|---|---|
| 2021 | 13.0% | 28.5% |
| 2022 | −13.0% | −35.7% |
| 2023 | 24.7% | 38.7% |
| 2024 | 13.2% | 26.0% |
| 2025 | −2.2% | 7.3% |
| 2026 | 8.7% | −7.2% |
Year by year
The rule returned 13% in 2021, -13% in 2022, 24.7% in 2023, 13.2% in 2024, -2.2% in 2025 and 8.7% in 2026 to date. Buy-and-hold returned 28.5%, -35.7%, 38.7%, 26%, 7.3% and -7.2%. The gap in the rule's favour was 22.7 points in 2022 and 15.9 in 2026. The gap against it was 15.5 points in 2021, 14 in 2023, 12.8 in 2024 and 9.5 in 2025.
2021 shows what a low-exposure rule gives up in a rising market. The first entry came on 2021-02-26 at 77.54 and the exit on 2021-04-09 at 83.27, a gain of 7.39% in 42 days. A second trade ran from 2021-05-13 to 2021-06-24 for 5.56%. After that the rule held nothing from July through December, and the monthly table shows 0 for each of those six months. The fund kept climbing to its peak on 2021-11-19.
2022 was the year the rule stayed long into a falling fund. It bought on 2022-01-20 at 91.47, one day after the account's equity peak on 2022-01-19, and sold on 2022-03-28 at 89.21 for -2.47%. It bought again on 2022-05-10 at 74.73 and sold on 2022-07-20 at 72.34 for -3.2%. The third entry on 2022-09-02 at 76.33 was the costly one, ending on 2022-12-01 at 70.86 for -7.17% after 90 days. All three exits lost money, and the year's return of -13% is the result. The fund lost 35.7% in the buy-and-hold column, so the rule came out well ahead, but it was still down.
The 2022 loss ended in the best trade of the next stretch. The rule entered on 2022-12-20 at 63.25, near the low of 2022-12-28, and sold on 2023-01-17 at 67.98 for 7.48%. January 2023 returned 8.45% for the rule. All four round trips that exited in 2023 won, including 2.34% in February and March, 6.95% from 2023-08-18 to 2023-09-12, and 5.34% from 2023-10-02 to 2023-11-15. The year's return of 24.7% still trailed the fund's 38.7%, because the rule held cash from April to July.
2024 had two exits, both wins. The first ran from 2024-01-18 to 2024-06-14 and returned 3.77% over 148 days, the longest hold in the test. The second, from 2024-08-06 to 2024-08-26, returned 9.43% in 20 days and was the best trade of the window. The rule made 13.2% against 26% for the fund.
In 2025 the rule lost 2.2% while the fund gained 7.3%. The 2025-02-24 entry at 108.11 sold on 2025-05-08 at 99.45 for -8.01%, the worst trade of the test, and the year's best trade was the 2025-11-21 entry at 110.41, which sold on 2025-12-10 at 117.27 for 6.21% in 19 days. In 2026 the rule made 8.7% against -7.2% for the fund, with two exits, both wins: 1.58% on the trade from 2026-02-12 and 8.08% on the 20-day trade from 2026-07-24 to 2026-08-13.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | −0.8% | 4.4% | 3.5% | 2.6% | 2.8% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | −2.9% | −4.0% | 4.6% | 0.0% | −0.5% | −10.5% | 8.9% | 0.0% | −9.6% | 1.1% | 1.5% | −0.8% |
| 2023 | 8.4% | 1.2% | 1.0% | 0.0% | 0.0% | 0.0% | 0.0% | 5.7% | 1.1% | −4.7% | 10.4% | 0.0% |
| 2024 | −1.3% | 7.7% | −0.1% | −4.4% | 0.2% | 1.8% | 0.0% | 9.2% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | −1.6% | −8.1% | −0.2% | 2.1% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 6.1% | −0.0% |
| 2026 | 0.0% | −1.4% | −6.4% | 10.0% | 0.0% | 0.0% | 6.1% | 1.6% | −1.8% | 1.1% | – | – |
The monthly pattern
The best month was November 2023 at 10.45%, followed by April 2026 at 10.02% and August 2024 at 9.2%. The worst was June 2022 at -10.54%, then September 2022 at -9.61% and March 2025 at -8.06%.
The two worst months landed inside the long 2022 trades. June 2022 sat inside the trade from 2022-05-10 to 2022-07-20, and September 2022 was the first month of the trade that began on 2022-09-02. In both years the rule held a position through the decline because RSI had not yet climbed above 70.
Buy-and-hold had its best month in July 2022 at 17.99% and its worst in April 2022 at -11.72%. The rule held through July 2022 for part of the month and returned 8.88%. It was flat in April 2022 and avoided that month's loss entirely.
Months showing 0 are months with no position. They are frequent, and they are the main source of the gap in the rule's favour during selloffs and against it during rallies. The rule holds cash until RSI falls under 30, and RSI on a fund this volatile can take months to get there.
The 2026 months and the last open trade
The 2026 monthly record shows the rule's pattern at small scale. It was flat in January, lost 1.39% in February and 6.4% in March, and then made 10.02% in April, the second-best month of the whole test. The 2026-02-12 entry at 117.83 spanned all three months and sold on 2026-04-20 at 119.69 for 1.58%, the smallest of the 2026 wins. May and June were flat, with no position. July made 6.11% and August 1.65% from the 2026-07-24 entry, and September lost 1.82% after the sale in August and the re-entry on 2026-09-16 at 110.92. October's first sessions showed 1.07%, and the open trade stood at -0.78% on the last day of data.
The pattern of long flat spells followed by one or two active months repeats across the table. The flat months run from July to December 2021, April 2023 to July 2023, September to December 2024 and January 2025, June to October 2025, and May and June 2026. The fund's own weekday averages were 0.13% on Monday, 0.01% on Tuesday, 0.05% on Wednesday, -0.08% on Thursday and 0.08% on Friday, with a lag-1 autocorrelation of -0.02. A rule that enters at the open after a signal day has no weekday edge to lean on here, and the next-day correlation of returns is close to zero. The fund's volatility, with an average intraday range of 1.68%, is what moves the account on any day it holds a position.
Every trade
RSI mean reversion on XLY made 15 closed round trips and one position still open at the end of the test, an average hold of 53 days, an average winner of 5.83%, an average loser of −5.21%, a profit factor of 2.98, a longest losing streak of 3. It held a position at the close on 38.6% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-02-26 | $77.54 | 2021-04-09 | $83.27 | 7.4% | 42 |
| 2021-05-13 | $80.52 | 2021-06-24 | $85.00 | 5.6% | 42 |
| 2022-01-20 | $91.47 | 2022-03-28 | $89.21 | −2.5% | 67 |
| 2022-05-10 | $74.73 | 2022-07-20 | $72.34 | −3.2% | 71 |
| 2022-09-02 | $76.33 | 2022-12-01 | $70.86 | −7.2% | 90 |
| 2022-12-20 | $63.25 | 2023-01-17 | $67.98 | 7.5% | 28 |
| 2023-02-24 | $69.61 | 2023-03-31 | $71.24 | 2.3% | 35 |
| 2023-08-18 | $78.58 | 2023-09-12 | $84.04 | 7.0% | 25 |
| 2023-10-02 | $77.95 | 2023-11-15 | $82.11 | 5.3% | 44 |
| 2024-01-18 | $84.58 | 2024-06-14 | $87.77 | 3.8% | 148 |
| 2024-08-06 | $84.27 | 2024-08-26 | $92.22 | 9.4% | 20 |
| 2025-02-24 | $108.11 | 2025-05-08 | $99.45 | −8.0% | 73 |
| 2025-11-21 | $110.41 | 2025-12-10 | $117.27 | 6.2% | 19 |
| 2026-02-12 | $117.83 | 2026-04-20 | $119.69 | 1.6% | 67 |
| 2026-07-24 | $108.96 | 2026-08-13 | $117.76 | 8.1% | 20 |
| 2026-09-16 | $110.92 | open | – | −0.8% | – |
Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.
The trades that mattered
The test made 15 closed round trips, and 11 won, for a win rate of 73%. Winners averaged 5.83% and losers averaged -5.21%. The profit factor was 2.98. The median trade returned 5.34% and the median hold was 42 days. The longest hold was 148 days and the shortest was 19. Average hold time was 52.7 days.
The five best trades were 9.43% from 2024-08-06 at 84.27 to 2024-08-26 at 92.22, 8.08% from 2026-07-24 at 108.96 to 2026-08-13 at 117.76, 7.48% from 2022-12-20 at 63.25 to 2023-01-17 at 67.98, 7.39% from 2021-02-26 at 77.54 to 2021-04-09 at 83.27, and 6.95% from 2023-08-18 at 78.58 to 2023-09-12 at 84.04. Prices are adjusted for splits and dividends. Two of the five lasted 20 days. The 20-day trades are the clearest case of the idea working: the fund sold off to RSI under 30, bounced fast, and RSI crossed 70 within a month.
The worst losers were -8.01% from 2025-02-24, -7.17% from 2022-09-02, -3.2% from 2022-05-10 and -2.47% from 2022-01-20. All four lasted 67 days or longer, between 67 and 90 days. This is the pattern the template's caveat describes. In a persistent downtrend, RSI can stay low for weeks while the position keeps losing, and with no stop there is nothing to cut the loss.
The record by exit year is 2 of 2 in 2021, 0 of 3 in 2022, 4 of 4 in 2023, 2 of 2 in 2024, 1 of 2 in 2025 and 2 of 2 in 2026. Six wins in a row was the best run, and three losses in a row was the worst, which is the three 2022 exits.
An entry on 2026-09-16 at 110.92 was still open at the end date, showing -0.78%. It is not counted among the 15 closed round trips and does not appear in the win rate.
Which extreme days fell inside a position
XLY's largest single-day moves are a useful check on what the rule actually held. The best days were 2025-04-09 at 10.79%, 2022-11-10 at 7.27%, 2025-05-12 at 5.07%, 2022-05-26 at 4.9% and 2022-10-17 at 4.07%. The rule was long for four of the five. The 2025-02-24 trade was open on 2025-04-09, so the account took the 10.79% rebound, but it also took the slide into the 2025-04-08 low, and the trade still closed at -8.01% on 2025-05-08. The 2025-05-12 gain of 5.07% came four days after that exit, and the rule was in cash for it.
The worst days were 2022-05-18 at -6.54%, 2025-04-03 at -5.97%, 2022-05-05 at -5.49%, 2022-09-13 at -5.14% and 2022-04-26 at -5.12%. Three of those five fell while the rule was long: 2022-05-18 inside the trade from 2022-05-10, 2025-04-03 inside the 2025-02-24 trade, and 2022-09-13 inside the 2022-09-02 trade. The two cash days were 2022-04-26 and 2022-05-05, both before the rule's entry on 2022-05-10. Because RSI(14) has to close below 30 first, the rule tends to buy after the first leg of a selloff and then sit through the second.
That is visible in the 2022 trade list. Three of the best days of 2022 fell inside a position: 2022-05-26, 2022-10-17 and 2022-11-10. They came as bounces inside losing trades: the 2022-05-10 trade closed at -3.2% and the 2022-09-02 trade at -7.17%. A strong rebound day did not turn those trades into winners, since RSI had not yet reached 70 and the rule kept holding.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-01-19 | 2022-11-09 | −20.6% | 294 | 2023-08-29 | 293 |
| 2025-02-21 | 2025-04-08 | −18.9% | 46 | 2026-07-27 | 475 |
| 2023-10-11 | 2023-10-26 | −9.0% | 15 | 2023-11-14 | 19 |
Buy-and-hold's deepest drawdown ran from 2021-11-19 to 2022-12-28 and reached −39.1%.
The three drawdowns
The deepest drawdown was 20.65%. The peak came on 2022-01-19 and the trough on 2022-11-09, 294 days later, with a recovery on 2023-08-29 after 293 more days. It spans the three 2022 trades.
The second was 18.88%, from a peak on 2025-02-21 to a trough on 2025-04-08 after 46 days. The recovery came on 2026-07-27, 475 days later. The 2025-02-24 entry, three days after the peak, produced the 8.01% loss, and the fund's April 2025 low is the date of the trough. The recovery took far longer than the decline, and it completed while the 2026-07-24 trade was open.
The third was 9.04%, from 2023-10-11 to a trough on 2023-10-26 after 15 days, and it recovered on 2023-11-14 after 19. That one sits inside the trade of 2023-10-02, which eventually closed at +5.34%.
Buy-and-hold's first drawdown was 39.06%, from 2021-11-19 to 2022-12-28 after 404 days, and it recovered on 2024-11-06 after 679 more. The second was 25.64% from 2024-12-17 to 2025-04-08, recovering on 2025-09-12. The third was 14.79% from 2026-01-12 to 2026-03-30 and had not recovered by the end date.
The drawdown gap of 18.41 points is the main result of this page. The rule's win over buy-and-hold in CAGR is small, 0.73 points, while the difference in worst decline is large. Both drawdowns are measured on a 5.74-year window with one bear market in it.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 7.0% | −20.6% | $14,747 | 0.49 |
| 5 basis points | 6.7% | −20.8% | $14,541 | 0.48 |
| 10 basis points | 6.4% | −21.0% | $14,309 | 0.46 |
With trading costs
At 5 basis points per trade the CAGR was 6.74%, the maximum drawdown 20.79%, the ending equity $14,541.39 and the Sharpe ratio 0.477. At 10 basis points the CAGR was 6.44%, the maximum drawdown 21.04%, the ending equity $14,308.60 and the Sharpe ratio 0.459. The headline Sharpe ratio was 0.49.
The rule made 31 fills. At 10 basis points the ending equity was still above buy-and-hold's $14,177.03, but the margin was smaller than in the headline run. XLY's average daily dollar volume was 892,144,651 and its median minute volume was 15,102.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 7.0% | −20.6% | 15 | 73% | $14,747 |
| RSI < 25 / > 70 | 7.5% | −20.1% | 14 | 79% | $15,108 |
| RSI < 35 / > 70 | 3.9% | −30.4% | 18 | 78% | $12,427 |
| RSI < 30 / > 65 | 3.1% | −24.2% | 16 | 75% | $11,888 |
| RSI < 30 / > 75 | 9.0% | −23.4% | 14 | 79% | $16,404 |
Four threshold variants
Four variants moved one threshold at a time. Buying below 25 and selling above 70 made 14 trades with 11 winners and ended at $15,108.25, a CAGR of 7.45%, a maximum drawdown of 20.13% and a Sharpe ratio of 0.533. Buying below 35 and selling above 70 made 18 trades with 14 winners and ended at $12,426.62, a CAGR of 3.86%, a drawdown of 30.36% and a Sharpe ratio of 0.3. Buying below 30 and selling above 65 made 16 trades with 12 winners and ended at $11,888.19, a CAGR of 3.06%, a drawdown of 24.17% and a Sharpe ratio of 0.277. Buying below 30 and selling above 75 made 14 trades with 11 winners and ended at $16,404.36, a CAGR of 9%, a drawdown of 23.4% and a Sharpe ratio of 0.588.
The default of 30 and 70 finished at $14,746.54, a CAGR of 7% and a Sharpe ratio of 0.49. The spread across the five settings runs from a CAGR of 3.06% to 9%. Selling later, above 75, added to the CAGR and kept the rule in longer during each recovery. Selling earlier, above 65, cut it by a wide margin. Buying earlier, below 35, drew down 30.36%. Buying later, below 25, changed little.
The sell threshold carries most of the sensitivity. A rule that moves from 3.06% to 9% as the sell level goes from 65 to 75 has wide error bars around its 7% headline figure. The default beat buy-and-hold by 0.73 points of CAGR, and the 65 and 35 variants finished below buy-and-hold's 6.27%. Only the drawdown advantage held in every variant, with each at or below 30.36% against 39.06% for holding.
How XLY behaved
| Measure | XLY |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 44.7% |
| Annualized volatility | 23.3% |
| Deepest drawdown | −39.7% (2021-11-19 to 2022-12-28) |
| Up days | 53.0% |
| Average daily range | 1.68% |
| Average overnight gap | 0.63% |
| Correlation to SPY | 0.87 |
| Correlation to QQQ | 0.86 |
| Correlation to TLT | 0.11 |
| Sessions above the 200-day average | 65.1% |
| Crossings of the 200-day average | 59 |
| Falls of 10% or more from a 20-day high | 24 |
How XLY behaved
XLY returned 44.67% from 2021-01-04 to 2026-10-02, a CAGR of 6.64%, with an annualized volatility of 23.32% and a maximum drawdown of -39.67%. Its calendar returns were 29.05% in 2021, -36.28% in 2022, 39.68% in 2023, 26.51% in 2024, 7.36% in 2025 and -7.26% in 2026 so far. The longest drawdown lasted 743 sessions.
The fund closed up on 53.01% of sessions, with an average up day of 1.06% and an average down day of -1.13%. Its beta to SPY was 1.24 and to QQQ 0.89, and its correlation to SPY was 0.87 and to QQQ 0.86. The funds most correlated with it were VV at 0.88, SSO, SPY, VOO and SPUU at 0.87. The most negatively correlated were SDS, SH and SPDN at -0.87.
RSI(14) closed below 30 on only 27 sessions and above 70 on 92. The fund spent far more sessions stretched upward than downward, and the buy signal came rarely. After those 27 oversold sessions the median forward return was -0.17% over 5 sessions and -0.78% over 20, below the baseline medians of 0.22% and 0.77%. The raw reading of RSI under 30 did not mark a bounce on its own. The rule held until RSI crossed 70, which gave the fund a median of 42 days to recover.
The short RSI tells a different story. The 2-day RSI fell below 10 on 152 sessions, and the median forward return was 0.74% over 5 sessions and 1.8% over 20, above the baseline. That is the setting the RSI(2) snapback uses, and it made 8.2% on XLY with a 16.62% drawdown.
The fund fell 10% from its 20-day high in 24 separate events across 98 days. About 89.7% of the log return came overnight, 31.78% against 3.65% intraday, and the average overnight gap was 0.63% against an average intraday range of 1.68%. Seasonally, July averaged 4.24% and November 5.12%, while September averaged -1.9% and February -1.56%, with five or six observations in each month. The fund closed above its 200-day average on 65.06% of sessions and crossed it 59 times.
The rules
Buy when the 14-day RSI drops below 30 (oversold), sell when it recovers above 70 (overbought).
- WHEN the market opens · IF not invested AND RSI(14) < 30 · THEN buy with 98% of the sleeve
- WHEN the market opens · IF invested AND RSI(14) > 70 · THEN sell the whole position
A standard mean-reversion setup. The Relative Strength Index measures how stretched recent price action is. Readings under 30 have historically marked short-term washouts in uptrending assets. This template buys at the next session open and holds until RSI crosses back above 70. It has no profit target and no stop.
Good for: assets that trend up over time but overshoot on the way, such as broad index ETFs.
Watch out: in a persistent downtrend, RSI can stay oversold for weeks while the position keeps losing; there is no stop-loss in this template.
Why XLY suited the rule
The rule is built for an asset that trends up and overshoots on the way, and XLY did that for most of the window. Its drawdown to 2022-12-28 was deep, and the rule held through three of its legs, which is the weak point of a no-stop design.
Of the 12 rules on XLY, this one ranks third. The weekly 7% target made 10.19% with a 24.73% drawdown and the RSI(2) snapback made 8.2% with 16.62%. After the RSI rule came the dip buyer at 4.01% with 32.73%, the momentum breakout at 3.83% with 18.35%, the monthly cycle at 3.67% with 43.81% and the EMA 12/26 trend at 2.36% with 21.26%. The golden cross made 1.35% with 25.65% and the SMA 10/50 trend 0.35% with 27.48%. The 200-day regime filter lost 2.16%, the 3-month momentum rule lost 3.94% and the trend with trailing stop lost 4.4% with a 39.69% drawdown. The trend rules did worst, which fits a fund that crossed its 200-day average 59 times in the window.
Across all 59 funds, XLY ranks 15 for this rule. The median CAGR for the rule over 59 funds was 2.98%, and the median for sector funds was 8.74%, so XLY sits below its category median. In the sector group SOXX made 12.78% with a 35.01% drawdown over 14 round trips, XLF made 11.82% with 18.73% over 20, XLK made 8.74% with 25.98% over 16, XLP made 6.51% with 9.64% over 16 and VOX made 2.39% with 35.15% over 14. The pages for SOXX, XLF, XLK, XLP and VOX show the rule on each.
Limits of this test
Coverage is 5.74 years with one major bear market, and the sample is 15 closed round trips. Fees and slippage are zero in the headline run. Decisions come from daily bars and fill at the next open. The 0.73 point CAGR edge sits well inside the spread of the four threshold variants, so the result describes this window and this fund only. The XLY page lists all 12 rules on the fund, and the RSI mean reversion hub shows the rule on 59.
Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.
Frequently asked questions
Did RSI mean reversion beat buy-and-hold on XLY?
Over 2021-01-04 to 2026-10-02, RSI mean reversion on XLY returned 7.0% annualized vs 6.3% for buy-and-hold: it beat buy-and-hold by 0.7% per year, with a maximum drawdown 18.4 points shallower than holding (20.6% vs 39.1%).
How many trades did it make?
15 completed round trips over 5.7 years (31 fills), with 73% of round trips closing profitably.
Why RSI 30/70?
They are the conventional oversold and overbought bands from Welles Wilder's original formulation. Treat them as a starting point. In DeployQuant you can change them to 25/65 or anything else and re-backtest in seconds.
Does this strategy use a stop-loss?
No. The only exit is RSI recovering above 70. Adding a stop or a take-profit block is a one-block edit in the Lab.
How did RSI mean reversion do on XLY?
It turned $10,000 into $14,746.54 between 2021-01-04 and 2026-10-02, a CAGR of 7%. Buy-and-hold ended at $14,177.03. The rule's maximum drawdown was 20.65% against 39.06%, and 11 of its 15 closed round trips won.
How can a losing 2022 still beat the fund?
It lost 13% against 35.7% for buy-and-hold. Its three 2022 exits all lost, at -2.47%, -3.2% and -7.17%, but it held cash for part of the year and the fund fell further.
What was the worst trade?
The entry on 2025-02-24 at 108.11 sold on 2025-05-08 at 99.45, a loss of 8.01% over 73 days. With no stop in the template, the position stayed open until RSI climbed above 70.
Does changing the RSI thresholds matter?
A great deal. Selling above 75 gave a CAGR of 9% and selling above 65 gave 3.06%. Buying below 25 gave 7.45% and buying below 35 gave 3.86%. The default of 30 and 70 gave 7%.
Is there an open trade?
Yes. An entry on 2026-09-16 at 110.92 was still open at the end date, showing -0.78%. It is not in the 15 closed round trips.
How does XLY compare with other sector funds for this rule?
SOXX made 12.78% and XLF 11.82%, both ahead of XLY at 7%. XLK made 8.74%, XLP 6.51% and VOX 2.39%. XLY ranks 15 of 59 funds for this rule.
Related
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.