Learn › Strategies › Weekly Entry + 7% Target › XLY

Weekly Entry + 7% Target 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.

Result: weekly 7% target on XLY turned $10,000 into $17,458 (74.6% total, 10.2% CAGR): it beat buy-and-hold by 3.9% per year, with a maximum drawdown 14.3 points shallower than holding (24.7% vs 39.1%).

The Weekly Entry + 7% Target template buys at the first open of the week, rests a limit order 7% above the entry, and sells at 2:00pm on the second-to-last session of the week if the position is under water. XLY is the Consumer Discretionary Select Sector SPDR, a fund of cyclical US consumer stocks. The test runs from 2021-01-04 to 2026-10-02, starting with $10,000.

The account finished at $17,457.69. That is a CAGR of 10.19%, a total return of 74.58%, a Sharpe of 0.59 and a maximum drawdown of 24.73%. Buy-and-hold on XLY ended at $14,177.03, with a CAGR of 6.27%, a Sharpe of 0.39 and a drawdown of 39.06%. The weekly rule beat holding on all three measures.

It did that with a win rate of 29%. Of 130 round trips, 38 closed with a gain. The average win was 7.05% and the average loss -2.16%, giving a profit factor of 1.28. The median trade lost 0.9% and lasted 3 days. The strategy is a large number of small losses paid for by a smaller number of 7% winners.

Of the 12 templates, this one ranks first on XLY. XLY ranks 25th of 59 funds for the strategy, against a median CAGR across all funds of 6.61%. The headline run has no fees, and the 5 basis point run drops the CAGR to 4.71%. The window is one stretch of 5.74 years with daily-decision rules.

10.2%CAGR
6.3%buy & hold CAGR
−24.7%max drawdown
0.59Sharpe ratio
130round trips
29%win rate
■ weekly 7% target   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearweekly 7% targetbuy & hold
202119.3%28.5%
2022−13.3%−35.7%
202346.8%38.7%
202416.3%26.0%
202514.0%7.3%
2026−12.1%−7.2%

Year by year

2021 returned 19.3% against 28.5% for holding, a shortfall of 9.2 points. The template caps each winner near 7%, and in a year when the fund rose steadily the cap and the Thursday exits left return on the table.

2022 is the year the rule earned its place. It returned -13.3% while XLY returned -36.28% on the calendar and buy-and-hold in the test returned -35.7%. The strategy beat holding by 22.4 points. Losing positions were sold on Thursdays before they could be carried through a weekend. Even so, the year had 28 exits, more than any other, and only 7 were wins.

2023 returned 46.8% against 38.7%, a gain of 8.1 points. This is the one calendar year where the strategy made more than the fund in a strong up market. January returned 11.81% and November 11.21%.

2024 returned 16.3% against 26%, behind by 9.7 points. 2025 returned 14% against 7.3%, ahead by 6.7. 2026 returned -12.1% against -7.2%, and the year runs only to 2026-10-02, with 20 exits and just 2 of them wins.

The strategy beat buy-and-hold in 2022, 2023 and 2025, and trailed it in 2021, 2024 and 2026. The margin was largest in the 2022 sell-off and smallest in 2024 and 2026. The record is mixed, and three wins against three losses is not enough to say which kind of year suits the rule.

Related rules on the same fund finished lower. The RSI(2) snapback returned 8.2% with a 16.62% drawdown, and the 200-day regime filter returned -2.16%.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20211.6%1.1%−1.1%3.4%−7.0%3.4%1.7%1.8%−2.1%10.9%1.5%3.5%
2022−2.4%−7.6%3.4%−5.4%−6.0%1.7%16.9%−0.6%−5.8%5.2%0.4%−11.1%
202311.8%3.4%5.6%−1.1%1.9%8.3%1.0%−2.4%−1.7%−3.2%11.2%5.6%
2024−7.2%7.6%0.9%−3.9%0.2%3.3%2.7%−1.4%7.0%−2.3%4.7%4.7%
20252.8%−3.9%−9.3%5.3%7.3%2.4%1.9%6.6%3.5%0.1%−3.8%1.8%
20261.9%−2.6%−2.8%2.4%2.0%−2.6%−3.2%−1.5%−6.1%−0.1%––

Monthly returns

The strategy was invested in each month, so the table has no zeros. The best month was 2022-07 at 16.9%, close to buy-and-hold's best month in the same period at 17.99%. The worst was 2022-12 at -11.07%. Buy-and-hold's worst month was 2022-04 at -11.72%.

2022 was the most volatile year in the table, with months of -2.38%, -7.56%, 3.4%, -5.39%, -6.02%, 1.71%, 16.9%, -0.62%, -5.82%, 5.2%, 0.4% and -11.07%. The July rally was the only large win of the year.

2023 had a strong first half: 11.81% in January, 3.36% in February, 5.6% in March and 8.32% in June. Loss months were August through October, at -2.37%, -1.73% and -3.2%. Then November returned 11.21% and December 5.61%.

2024 opened with -7.15% in January and then recovered with 7.56% in February. 2025 has its largest loss in March at -9.27% and a big recovery in April at 5.26% and May at 7.3%. 2026 has five negative months out of nine, including -6.07% in September, which is the largest loss of the year.

The fund's seasonal averages suggest November at 5.12% and July at 4.24% were the strong months, and February at -1.56% and September at -1.9% were weak. Each average is five or six observations. They describe this window, and the strategy does not use a calendar rule.

Every trade

weekly 7% target on XLY made 130 closed round trips, an average hold of 12 days, an average winner of 7.05%, an average loser of −2.16%, a profit factor of 1.28, a longest losing streak of 7. It held a position at the close on 80.5% of trading days.

Best 10 round trips

EntryEntry priceExitExit priceReturnDays held
2026-03-30$106.052026-04-14$114.177.7%15
2021-10-18$90.452021-11-01$97.167.4%14
2021-01-04$77.162021-02-08$82.757.2%35
2024-08-12$85.502024-08-21$91.637.2%9
2021-07-19$83.832021-10-15$89.827.2%88
2024-09-03$91.692024-09-24$98.177.1%21
2021-03-29$79.272021-04-13$84.847.0%15
2021-05-24$80.862021-07-02$86.537.0%39
2022-07-05$66.372022-07-08$71.027.0%3
2022-07-18$70.802022-07-22$75.767.0%4

Worst 10 round trips

EntryEntry priceExitExit priceReturnDays held
2022-05-09$74.482022-05-12$69.40−6.8%3
2021-03-01$78.052021-03-04$72.96−6.5%3
2021-05-10$84.812021-05-13$79.68−6.0%3
2022-01-31$85.922022-02-24$80.85−5.9%24
2026-06-29$115.132026-07-23$108.42−5.8%24
2025-03-10$100.032025-03-13$94.57−5.5%3
2022-10-31$69.682022-11-03$66.04−5.2%3
2025-03-03$107.052025-03-06$101.67−5.0%3
2024-06-24$89.682024-08-08$85.26−4.9%45
2022-12-19$64.572022-12-22$61.47−4.8%3

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.

130 round trips

The trade count is large enough to show the shape of the distribution. Of 130 round trips, 38 won and 92 lost. The average win was 7.05% and the best trade was 7.66%, only just above the 7% target. The average loss was -2.16% and the worst was -6.82%. No trade ran far past the target, and no trade lost more than the Thursday exit allowed.

That asymmetry explains the profit factor of 1.28. Wins are capped near 7% by design, and losses are cut short by the Thursday deadline. The median return is -0.9% and the median hold is 3 days. The shortest hold was 0 days and the longest 88 days. The time exit only sells a losing position, so a trade that is not under water on Thursday keeps waiting for the target.

The longest win streak was 2 and the longest loss streak 7. Seven losing trades in a row is a drawdown of its own, and the monthly table in the second half of 2026 shows a string of small negative months of that kind.

Exits by year are 20 in 2021 with 7 wins, 28 in 2022 with 7, 24 in 2023 with 9, 16 in 2024 with 6, 22 in 2025 with 7 and 20 in 2026 with 2 so far. Even the best year for win count, 2023, has fewer wins than losses. Average hold of closed trades was 11.9 days, which is longer than the median because of a few trades that waited for the target.

The template description says it needs the 7% winners to outnumber the small losses in dollar terms. On XLY they did, by a modest margin. The dip buyer uses a similar target idea without the weekly clock and returned 4.01%.

Exposure was 80.5% of the window, so the account was out of the market about one session in five. That gap comes from the Thursday exits, since the sleeve stays in cash from a Thursday sale until the next week's first open, and from weeks where a target filled early and the rule did not re-enter until the following Monday. Because the strategy buys only once per week, a quick target hit on Monday or Tuesday leaves the rest of that week idle.

The sizing is 98% of the sleeve on every entry. A loss of 6.82%, the worst in the list, therefore costs close to that amount of the account, and a stretch of several small losers has an effect on equity that the per-trade numbers understate.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-01-032022-05-24−24.7%1412022-08-1280
2022-08-162022-12-28−18.7%1342023-02-1448
2025-02-042025-04-03−16.6%582025-07-0290

Buy-and-hold's deepest drawdown ran from 2021-11-19 to 2022-12-28 and reached −39.1%.

Drawdowns

The largest drawdown peaked on 2022-01-03 and troughed on 2022-05-24 at a depth of 24.73%, after 141 days. It recovered on 2022-08-12, 80 days later. The second peaked on 2022-08-16 and troughed on 2022-12-28 at 18.69%, after 134 days, and recovered on 2023-02-14. The third peaked on 2025-02-04 and troughed on 2025-04-03 at 16.62%, after 58 days, and recovered on 2025-07-02.

Buy-and-hold had a 39.06% drawdown from 2021-11-19 to 2022-12-28, which took 404 days to reach the low and 679 more days to recover on 2024-11-06. The second was 25.64% in 2025 and the third, 14.79% from 2026-01-12 to 2026-03-30, had not recovered by the end of the window.

The strategy's three worst drawdowns each lasted a shorter time than the one long slide in buy-and-hold. The rule did not escape 2022: two of the strategy's three drawdowns are dated within 2022 and its largest equity decline falls in the same months as the fund's. The first one, from 2022-01-03 to 2022-05-24, came during the early stretch of the fund's own decline, and the account then needed 80 days to get back to its peak.

The longest loss streak of 7 sits behind the deepest of these drawdowns. A sequence of failed entries is how the strategy loses money, since each loser is small and several in a row compound.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)10.2%−24.7%$17,4580.59
5 basis points4.7%−29.2%$13,0270.34
10 basis points2.7%−30.8%$11,6810.25

Cost runs

The cost runs change the result a great deal. At 5 basis points the CAGR falls to 4.71%, the drawdown rises to 29.24%, the ending equity is $13,027.03 and the Sharpe is 0.34. At 10 basis points the CAGR is 2.74%, the drawdown 30.81%, the ending equity $11,681.27 and the Sharpe 0.248.

The headline run has 260 fills. Every entry and exit pays the charge, and the account trades most weeks. The fund is liquid, with an average daily dollar volume of $892,144,651 and a median minute volume of 15,102 shares, so the charge in these runs is an assumption and not a measure of what XLY costs to trade.

At 5 basis points the ending equity of $13,027.03 is below buy-and-hold's $14,177.03, so the strategy's lead over holding in the headline run does not survive that charge. The CAGR of 4.71% at 5 basis points is below the buy-and-hold CAGR of 6.27%. At 10 basis points it is 2.74%. The result on this fund depends on how cheaply the 260 fills can be done, and the test stops at 10 basis points. Quoted spreads, commissions and the way a resting limit order fills at a real broker are not part of the model.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules10.2%−24.7%13029%$17,458
5% target8.8%−19.1%16034%$16,274
10% target12.6%−23.5%8726%$19,721
15% target7.5%−30.8%5420%$15,104

Profit target variants

Three variants change the target from the 7% base. The Thursday exit stays.

A 5% target made 160 trades with 55 wins. The CAGR was 8.85%, the drawdown 19.12%, the ending equity $16,274.25 and the Sharpe 0.54. A lower target converts more weeks into wins and cuts the drawdown, and it gives up some return.

A 10% target made 87 trades with 23 wins. The CAGR was 12.56%, the drawdown 23.51%, the ending equity $19,720.51 and the Sharpe 0.681. It is the best of the four configurations on every measure.

A 15% target made 54 trades with 11 wins. The CAGR was 7.45%, the drawdown 30.84%, the ending equity $15,103.98 and the Sharpe 0.45. At that distance the target is rarely reached, and the Thursday exit takes most trades.

The CAGR rises from 5% to 10% and falls at 15%, so the best setting sits near the middle. The 7% base is not the top of this table. With 54 to 160 trades each, the sample is larger than on a one-trade page, yet all four runs are the same price path, and a 10% target here is a fit to this window. No result here predicts a target that will work next.

The strategy hub compares the target variants across other funds, where volatile funds such as SOXX reached a CAGR of 30.54%.

How XLY behaved

MeasureXLY
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold44.7%
Annualized volatility23.3%
Deepest drawdown−39.7% (2021-11-19 to 2022-12-28)
Up days53.0%
Average daily range1.68%
Average overnight gap0.63%
Correlation to SPY0.87
Correlation to QQQ0.86
Correlation to TLT0.11
Sessions above the 200-day average65.1%
Crossings of the 200-day average59
Falls of 10% or more from a 20-day high24

How XLY behaved

XLY returned 44.67% in the window, a CAGR of 6.64% with annualized volatility of 23.32%. The maximum drawdown was -39.67% from 2021-11-19 to 2022-12-28, recovering on 2024-11-06. The longest drawdown ran 743 sessions.

The fund was up on 53.01% of sessions, with an average up day of 1.06% and an average down day of -1.13%. The average intraday range was 1.68%. Its correlation to SPY is 0.87 and to QQQ 0.86, with a beta of 1.24 to SPY. It spent 65.06% of sessions above its 200-day average and crossed the line 59 times, more often than a clean trend would.

Overnight movement accounts for 89.7% of the fund's log return and intraday movement for 10.3%. A strategy that buys at the first open of the week and closes in the afternoon of the Thursday takes the overnight gaps on most days it holds. This is a feature of the sample, and it does not say where the next return will come from.

The best days were 2025-04-09 at 10.79% and 2022-11-10 at 7.27%. The worst were 2022-05-18 at -6.54% and 2025-04-03 at -5.97%. RSI(14) fell below 30 on 27 sessions, with a median 20-day forward return of -0.78% against a baseline of 0.77%. RSI(2) fell below 10 on 152 sessions, and the median 20-day return after those was 1.8%. Short-term oversold readings did better than the 14-day version here.

Compared with other sector funds, the weekly rule did better on XLK at 20.39% and worse on VOX at 8.12%, XLF at 7.13% and XLP at 2.37%. The category median is 10.19%, which is XLY's own result. The funds that swing more produced more round trips and higher CAGR. The XLY fund page shows the full profile.

The rules

Buy at the first open of each week, rest a +7% profit target, and exit Thursday afternoon if the trade is losing.

  1. WHEN the first session of the week opens · IF not invested · THEN buy with 98% of the sleeve (once per week)
  2. WHILE invested · a managed limit order rests at entry price × 1.07
  3. WHEN it's 2:00pm on the week's second-to-last session · IF the position is losing · THEN sell everything

A weekly swing template: enter Monday, aim for +7%, and do not carry a loser into the weekend. The profit target rests at the broker as a real limit order the whole time (DeployQuant maintains it as a managed order). The Thursday-afternoon exit gives losing trades a time deadline instead of a price stop.

Good for: volatile assets that regularly swing 7% within a week, such as leveraged ETFs.
Watch out: the time-based exit realizes many small losses by design. The template needs the +7% winners to outnumber them, which the per-ETF results test directly.

How the weekly clock meets this fund

The entry fires once a week at the first open if the sleeve is not invested. The target rests at the entry price times 1.07. On Thursday at 2:00pm, or the week's second-to-last session, a losing position is sold. A position that is up on Thursday is held into the weekend and waits for the target.

XLY's average up day is 1.06%, so a 7% rise within a week is uncommon. That is why 92 of 130 trades lost. The wins come in stretches when the fund rallies hard, such as July 2022, November 2023 and May 2025. Between those, the Thursday exit cuts the loss at a small figure.

The rule ranked above every other template on XLY. The next best was the RSI(2) snapback at 8.2% and the RSI mean reversion at 7%. The trend rules finished near or below zero, with the trend + trailing stop at -4.4%. A fund that rose and fell in sharp swings suited a short-horizon rule better than a slow filter.

The test has limits. It uses one window, includes no costs in the headline run, and the cost runs reduce the lead substantially. It does not predict how XLY will trade in any future week.

Run weekly 7% target on XLY yourself, free →

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 weekly 7% target beat buy-and-hold on XLY?

Over 2021-01-04 to 2026-10-02, weekly 7% target on XLY returned 10.2% annualized vs 6.3% for buy-and-hold: it beat buy-and-hold by 3.9% per year, with a maximum drawdown 14.3 points shallower than holding (24.7% vs 39.1%).

How many trades did it make?

130 completed round trips over 5.7 years (260 fills), with 29% of round trips closing profitably.

Why exit on Thursday?

It is a time deadline. The template does not hold a losing trade over the weekend gap. On holiday-shortened weeks the exit moves to the week's second-to-last session automatically.

Does the 7% target rest at the broker?

Yes. Deployed live, the target is a real GTC limit order that DeployQuant places and maintains.

Did the weekly 7% target make money on XLY?

Yes, before costs. It ended at $17,457.69 from $10,000, a CAGR of 10.19% with a drawdown of 24.73%. Buy-and-hold ended at $14,177.03.

What is the win rate and why is it so low?

It is 29%, with 38 winning trades out of 130. The Thursday exit sells losers early, so the losses are small, with an average of -2.16%, while wins average 7.05%.

How much do trading costs matter here?

A great deal. At 5 basis points the CAGR is 4.71% and the ending equity $13,027.03, and at 10 basis points the CAGR is 2.74% and the equity $11,681.27.

Would a different profit target have worked better?

A 10% target had the best result in the test, with a CAGR of 12.56%. A 5% target returned 8.85% and a 15% target returned 7.45%.

Which years did it beat buy-and-hold?

2022, 2023 and 2025. It trailed in 2021, 2024 and 2026, with 2022 the largest gap in its favor at 22.4 points.

Is XLY a good fit for this strategy?

It ranks 25th of 59 funds. The strategy ranks first among the 12 templates on XLY, but SOXX at 30.54% and XLK at 20.39% did better among sector funds.

How long does a typical trade last?

The median hold is 3 days and the average is 11.9 days. The shortest was 0 days and the longest was 88 days, when a position that was not losing waited for the target.

How deep was the worst drawdown compared with holding XLY?

The strategy's worst drawdown was 24.73%, from 2022-01-03 to 2022-05-24. Buy-and-hold fell 39.06% from 2021-11-19 to 2022-12-28.

Related

Weekly Entry + 7% Target on all 59 ETFsfull results table All strategies on XLY12 templates compared RSI(14) Mean Reversion on XLYsame ETF, different rulesRSI(2) Dip Snapback on XLYsame ETF, different rules

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.