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

Weekly Entry + 7% Target on XLP

Consumer Staples Select Sector SPDR Fund: defensive consumer staples, a common risk-off equity sector. 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 XLP turned $10,000 into $11,436 (14.4% total, 2.4% CAGR): it trailed buy-and-hold by 3.4% per year, with a maximum drawdown of 23.8% (buy-and-hold: 16.0%).

A weekly rule built to catch 7% swings met a fund that rarely makes them. The weekly 7% target bought XLP at the first open of each week, rested a limit order 7% above the entry, and sold any losing position on Thursday afternoon. From 2021-01-04 to 2026-10-02 it turned $10,000 into $11,436, a CAGR of 2.37% and a total return of 14.36%. The Sharpe ratio was 0.27 and the maximum drawdown was 23.83%.

The fund is the Consumer Staples Select Sector SPDR Fund, a defensive sector holding that ran at 13.28% annualized volatility. A holder earned a CAGR of 5.8%, finished at $13,819, and saw a 15.99% worst drawdown with a Sharpe ratio of 0.51. The rule lagged on return and also had the deeper drawdown, which is the unusual part of this page: it took more risk for less return. It beat holding in 2024 only.

The rule closed 85 round trips and 170 fills and held a position on 87.1% of days. Only 16 of the 85 won, a win rate of 19%. The average winner made 7% and the average loser lost 1.35%, which gives a profit factor of 1.15. The longest losing streak was 12 trades. Small losses came often, and a 7% winner came about once in five trips.

Among the 12 strategies on XLP the weekly rule ranks 4th by CAGR. For this rule XLP is 36th of 59 funds, where the median CAGR over all 59 was 6.61% and the median over the six sector funds it was 10.19%, so XLP sits well under both. The best rule on XLP was the RSI(2) snapback at 8.22%.

Limits: a single 5.74-year window, daily decisions, no margin and a headline run without fees. The cost runs carry extra weight on this page, because 170 fills on a quiet fund leave little margin.

2.4%CAGR
5.8%buy & hold CAGR
−23.8%max drawdown
0.27Sharpe ratio
85round trips
19%win rate
■ weekly 7% target   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearweekly 7% targetbuy & hold
202117.2%18.1%
2022−7.7%−0.7%
2023−8.5%−0.9%
202412.9%12.0%
20251.4%1.5%
20261.8%5.6%

Year by year: ahead of holding in 2024 and behind or level in the rest

Rule returns were 17.2% in 2021, -7.7% in 2022, -8.5% in 2023, 12.9% in 2024, 1.4% in 2025 and 1.8% in 2026 to date. Holding the fund returned 18.1%, -0.7%, -0.9%, 12%, 1.5% and 5.6% in those years. The yearly gaps were -0.9, -7, -7.6, +0.9, -0.1 and -3.8 points.

In 2021 the rule almost kept pace. The rule held a position most of the time and made 17.2% against 18.1%. Eleven trades closed that year and 3 won. The best of them was a 7.01% trade bought on 2021-04-05 at $59.09 that sat for 133 days before the target filled on 2021-08-16 at $63.23. A 7% trade on 2021-03-08 took 21 days. The month of December added 9.75%, the rule's best month of the test.

2022 and 2023 are where the result was lost. The fund was nearly flat in both years, at -0.7% and -0.9% in the buy-and-hold run. The rule lost 7.7% and 8.5%. The rule closed 16 trips in 2022 with 4 winners and 23 in 2023 with 2 winners. The 23 trips in 2023 are the most of any year and the win count of 2 is among the lowest. A flat, wandering fund is the setting where a rule built to buy every Monday and sell losers every Thursday gives up its edge, since each week's small loss is real and the 7% target is seldom reached.

The worst single trade of the test fell in this stretch: -8.07% in three days, from 2022-05-16 at $68.18 to 2022-05-19 at $62.68. The fund's worst day, -6.45% on 2022-05-18, sat inside it. May 2022 was the rule's second-worst month at -6.93%, and May 2023 lost 7.27%.

Only 2024 favored the rule, 12.9% against 12%. Eleven trips closed with 3 wins. August of that year gave the rule 5.8%, its best month of 2024, and September added 3.01%. The 2024 winners were carried positions rather than weekly round trips.

2025 was level, 1.4% against 1.5%, with 8 trips and 1 win. 2026 so far gave 1.8% against 5.6%, with 16 trips and 3 wins. January and February 2026 gave 6.43% and 7%, and March gave -9.71%, the weakest month of the test. The rule's second drawdown peaked on 2026-02-27, just before that March.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
2021−3.8%0.6%5.4%1.8%1.7%−0.5%2.1%0.6%−2.6%3.1%−1.4%9.8%
2022−1.4%−4.2%1.8%2.9%−6.9%−2.5%2.0%−1.8%−5.8%6.8%4.4%−2.3%
2023−4.2%−4.1%5.4%2.4%−7.3%1.4%2.1%−4.5%−3.6%−1.7%4.0%2.2%
20241.2%2.0%3.9%−1.8%2.3%−0.2%1.6%5.8%3.0%−3.7%2.5%−4.0%
20251.2%4.6%−1.8%0.2%1.2%−1.6%−1.4%1.2%−2.3%−1.9%3.4%−1.3%
20266.4%7.0%−9.7%1.0%−1.6%−0.3%6.1%−1.0%−4.7%−0.3%––

Monthly returns: frequent small losses and a few large months

With a position open most of the window, the monthly grid is nearly full. Its best month was December 2021 at 9.75% and its worst was March 2026 at -9.71%. For holding the best month was also December 2021, at 10.36%, and the worst was also March 2026, at -8.31%. The rule's month was worse than the fund's in March 2026 and a little weaker in December 2021, which is the usual result for a rule that holds the same fund most of the time and adds weekly turnover.

Count the losing months and the picture is plain. In 2023 the rule lost in January (-4.24%), February (-4.09%), May (-7.27%), August (-4.52%), September (-3.57%) and October (-1.68%), and won only in March, April, June, July, November and December. In 2025 the rule lost in March, June, July, September, October and December, each by 1% to 2.4%. Small, steady losses of that kind are what the Thursday exit produces.

The rule's gains came in clusters. February and March 2021 gave 0.57% and 5.41%. October to November 2022 gave 6.81% and 4.41% after a September that lost 5.82%. In 2024 the months from February to March and August to September gave 2.02%, 3.89%, 5.8% and 3.01%. A winner of 7% takes a few weeks to a few months, so a month with one such fill is a large one.

The fund's own calendar-month averages show September at -3.79% and November at 3.33%, with April at 1.68% and February and July at 1.67%. May averaged -1.08%. Five or six years sit behind each figure, and the rule's own Septembers were -2.6% in 2021, -5.82% in 2022, -3.57% in 2023, 3.01% in 2024, -2.32% in 2025 and -4.65% in 2026, which agree with the fund's weak September in five of six years.

Every trade

weekly 7% target on XLP made 85 closed round trips, an average hold of 20 days, an average winner of 7.00%, an average loser of −1.35%, a profit factor of 1.15, a longest losing streak of 12. It held a position at the close on 87.1% of trading days.

Best 10 round trips

EntryEntry priceExitExit priceReturnDays held
2021-04-05$59.092021-08-16$63.237.0%133
2026-01-20$80.362026-02-06$85.997.0%17
2026-06-08$81.942026-07-28$87.687.0%50
2021-03-08$55.702021-03-29$59.607.0%21
2022-03-14$63.412022-04-01$67.857.0%18
2022-10-03$60.302022-10-26$64.527.0%23
2022-11-07$64.742022-11-30$69.277.0%23
2023-10-16$61.982023-12-13$66.327.0%58
2023-12-26$66.042024-03-12$70.667.0%77
2024-04-22$69.852024-08-02$74.747.0%102

Worst 10 round trips

EntryEntry priceExitExit priceReturnDays held
2022-05-16$68.182022-05-19$62.68−8.1%3
2022-09-19$63.482022-09-29$60.75−4.3%10
2026-03-16$83.712026-03-19$80.55−3.8%3
2022-02-28$65.952022-03-10$63.61−3.5%10
2023-01-17$67.932023-01-19$65.63−3.4%2
2025-02-24$78.292025-03-13$75.67−3.4%17
2023-05-22$68.882023-05-25$66.65−3.2%3
2022-05-23$63.332022-06-16$61.37−3.1%24
2026-02-23$86.312026-03-05$83.84−2.9%10
2023-05-15$70.292023-05-18$68.64−2.4%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.

The trade list: 85 round trips and a 19% win rate

Half the trades lost more than 0.74%, and half were held more than 10 days. The range of holds was 2 days to 185. The average hold was 20.4 days, well above the weekly schedule, because a position that is up on Thursday is carried while one that is down is sold. The record opens with a purchase on 2021-01-04 at $57.95, sold on 2021-01-07 at $57.18 for -1.33%. The last was bought on 2026-09-28 at $81.78 and sold on 2026-10-01 at $80.37 for -1.72%. Nothing was open at the end.

The 16 winners all made close to 7%. The best five were 7.01% (2021-04-05 to 2021-08-16, 133 days), 7.01% (2026-01-20 to 2026-02-06, 17 days), 7.01% (2026-06-08 to 2026-07-28, 50 days), 7% (2021-03-08 to 2021-03-29, 21 days) and 7% (2022-03-14 to 2022-04-01, 18 days). Winners are capped by the resting limit order, so the best trade is the target and not more than the target. The average winner of 7% and the best trade of 7.01% say the same thing.

The worst five were -8.07% (2022-05-16 to 2022-05-19, 3 days), -4.3% (2022-09-19 to 2022-09-29, 10 days), -3.77% (2026-03-16 to 2026-03-19, 3 days), -3.55% (2022-02-28 to 2022-03-10, 10 days) and -3.39% (2023-01-17 to 2023-01-19, 2 days). Three of the five lasted three days or less, so the Thursday exit worked as a time limit and some losses arrived before it.

The profit factor of 1.15 comes from the balance between the two sides. Sixteen winners at 7% make up the gains, and all the other trips, at an average of -1.35%, make up the losses. The result is positive, and thin. A slightly lower hit rate or a slightly larger average loss would take it to zero.

Closed trips with wins, by exit year: 11 and 3 in 2021, 16 and 4 in 2022, 23 and 2 in 2023, 11 and 3 in 2024, 8 and 1 in 2025, then 16 and 3 in 2026. Winners by year ranged from 1 in 8 trips in 2025 to 4 in 16 in 2022. Prices shown are adjusted for splits and dividends, so they run below the quotes of the day.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-04-202023-10-27−23.8%5552026-01-27823
2026-02-272026-06-22−11.5%115not yet–
2022-01-042022-03-14−9.7%692022-04-1936

Buy-and-hold's deepest drawdown ran from 2022-04-20 to 2022-10-07 and reached −16.0%.

Drawdowns deeper than holding

The worst drawdown for the rule was 23.83%. It began at the 2022-04-20 peak and bottomed on 2023-10-27, 555 days later. It recovered on 2026-01-27, 823 days after the low. The second was 11.48%, from 2026-02-27 to 2026-06-22 over 115 days, and it was still open when the data ended. The third was 9.66%, from 2022-01-04 to 2022-03-14 over 69 days, recovering on 2022-04-19, 36 days later.

Holding had a smaller worst loss. Its drawdown was 15.99%, from the same peak on 2022-04-20 to a low on 2022-10-07 after 170 days, and it recovered on 2024-03-28, 538 days later. The second was 9.52%, from 2026-02-27 to 2026-03-20, still open at the end, and the third 8.37%, from 2025-08-20 to 2025-11-06, recovering on 2026-01-14. On its own price series the fund had a 16.27% maximum drawdown and a longest drawdown of 486 sessions.

The peak is shared. Both curves topped out on 2022-04-20. The fund then fell for 170 days to its low, while the rule's equity kept sliding for 555 days. The rule's drawdown was 7.84 points deeper than holding's, and it took 823 days to recover against 538.

The shape is the opposite of what a defensive fund would suggest. XLP's worst fall was 16.27%, and the rule turned a sideways market into a 23.83% decline in equity. A time-based exit realizes losses by design, as the strategy page says, and on a fund that moves 0.64% on an average up day those losses add up.

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)2.4%−23.8%$11,4360.27
5 basis points1.0%−26.6%$10,5910.16
10 basis points−0.1%−28.7%$9,9370.07

Costs: the cost runs take the CAGR to zero

The rule made 170 fills. A 5 basis point charge per fill pulls the CAGR down to 1.01%, the maximum drawdown rose to 26.62% and the final value was $10,591. At 10 basis points the CAGR was -0.11%, the drawdown 28.74% and the final value $9,937. The Sharpe ratio fell from 0.27 to 0.157 and 0.068.

Costs decide this result. The edge per trade is thin, with a median trade of -0.74% and a profit factor of 1.15, and each round trip is charged on both its buy and its sell. Under the 10 basis point charge the account ended below where it began.

Liquidity is not the problem. XLP averaged $854,044,173 in daily dollar volume with 17,592 shares in the median minute, and a $10,000 order is tiny beside that. The charge in the cost runs is a flat rate and is not a measure of market impact. The point of the table is that a rule with 170 fills and a thin gross edge needs execution costs near zero, and the headline run has none.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules2.4%−23.8%8519%$11,436
5% target1.4%−22.1%11122%$10,857
10% target4.3%−15.6%5516%$12,735
15% target3.5%−17.1%4511%$12,191

Changing the profit target

Three alternative targets were run. A 5% target made 1.44% with a 22.11% drawdown, 111 trades with 24 wins, a Sharpe ratio of 0.193 and $10,857. A 10% target made 4.3% with a 15.64% drawdown, 55 trades with 9 wins, a Sharpe ratio of 0.414 and $12,735. A 15% target made 3.51% with 17.07%, 45 trades with 5 wins and $12,191.

The published 7% made 2.37% with 85 trades and a 23.83% drawdown. The 10% target did best on every figure in the table, including the shallowest drawdown, 15.64%, which is close to holding's 15.99%. A wider target let each winner run to a larger gain, and fewer trades meant fewer Thursday exits.

The 5% target made the most trades, 111, and the lowest return. It won 24 times, more often than any other variant, and the smaller gain per win did not cover the losses. The pattern is that a tighter target wins more often and earns less, and a wider one wins less often and earns more, up to the point where the wins are too few. The 15% target had 5 wins from 45 trades and a lower return than 10%.

None of the variants reached the 5.8% CAGR from holding, and the best one, 10% at 4.3%, still trailed it. The 10% variant has 9 wins, a small sample, and picking it after seeing the table would fit this window.

How XLP behaved

MeasureXLP
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold40.3%
Annualized volatility13.3%
Deepest drawdown−16.3% (2022-04-20 to 2022-10-07)
Up days51.6%
Average daily range1.12%
Average overnight gap0.29%
Correlation to SPY0.47
Correlation to QQQ0.30
Correlation to TLT0.13
Sessions above the 200-day average75.1%
Crossings of the 200-day average73
Falls of 10% or more from a 20-day high1

How XLP behaved: a quiet fund for a rule that needs movement

The fund's own gain was 40.33%, a CAGR of 6.08%, at 13.28% annualized volatility. Year by year it made 18.47%, then -0.75%, -0.89%, 12.23% and 1.53% for 2022 through 2025, with 5.68% for 2026 so far. Up days were 51.63% of sessions, and the typical up and down days were about 0.64% and 0.63% in size. A normal day covered a 1.12% range with a 0.29% overnight gap. Of its log return, 27.36% came overnight and 72.64% during the session.

The best days were 3.81% on 2025-04-09, 3.19% on 2022-02-25 and 2.8% on 2026-07-16. Its largest losses were on 2022-05-18 (-6.45%), 2025-04-04 (-4.24%) and 2022-09-13 (-3.38%). Its beta to SPY was 0.38 and to QQQ 0.18, with correlations of 0.47 and 0.3. VTV at 0.64 and VOOV at 0.63 were its closest matches, and the most opposite were SDS, SH and SPDN at -0.47.

A rule that aims at 7% in a week needs a fund that moves several percent in a week. XLP's daily range is 1.12%, and a 10% drop from a 20-day high happened only once, over 3 days. Sessions above the 200-day average made up 75.1% of the total, and the line was crossed 73 times, a high count for a fund with a smooth drift, which reflects how much time it spent near that line in 2022 and 2023.

The RSI statistics show a mild bounce. Over the 37 sessions with RSI(14) under 30, the median return was 0.59% across 5 days and 2.44% across 20, against baselines of 0.18% and 0.73%. RSI(2) under 10 on 156 sessions was followed by 0.26% and 1.09%. These are small numbers, and they are the scale of the moves the fund offers. A 7% gain inside a week is far above that scale.

The weekly rule is designed for volatile assets, with leveraged funds as the example on the strategy page. On XLP the 7% target was reached in 16 of 85 trips. The fund's best results by calendar month came in November at 3.33% on average, and the five best winners took between 17 and 133 days to arrive, which puts the weekly label at odds with how the target was actually reached.

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 rule compares on XLP and across sectors

Once a week the rule buys with 98% of the sleeve and parks a limit order 7% over the entry price. At 2:00pm on the second-to-last session of the week it sells the position if it is under water. A winner short of 7% is carried into the next week and the rule does not buy again while invested. That is why holds run as long as 185 days and why exposure was 87.1%.

On XLP the rule ranks 4th of 12. Ahead of it were the RSI(2) snapback at 8.22% with an 11.06% drawdown, RSI mean reversion at 6.51% with 9.64% and the monthly cycle at 5.46% with 13.42%. This rule made 2.37% with 23.83%. Behind it came the golden cross at 2.05%, the trend plus trailing stop at 1.82% and the dip buyer at 1.32% with an 8.03% drawdown.

The SMA 10/50 trend earned 1.21% and the EMA 12/26 trend 1.19%, and three rules lost money: the 200-day regime filter at -0.81%, the 3-month momentum at -1.67% and the momentum breakout at -1.87%. Mean-reversion rules led the table, a fit for a fund that drifts and bounces. Every rule on XLP had a drawdown at or above 8.03%, and the weekly rule's 23.83% was the deepest of the 12.

Across sector funds the same rule did far better elsewhere. SOXX returned 30.54% with a 22.76% drawdown across 176 round trips, XLK 20.39% with 20.67% over 125, and XLY 10.19% over 130. VOX made 8.12% with 36.79% and XLF 7.13% with 31.64%. XLP's 2.37% over 85 round trips was last of the six, and it also had the fewest trips, which says how rarely the 7% target filled. Every rule on the fund is ranked on the XLP fund page.

The record covers one window, one fund and 85 trades, with no fees in the headline run. It describes a quiet defensive fund over 2021 to 2026 and gives no estimate for another fund or period.

Run weekly 7% target on XLP 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 XLP?

Over 2021-01-04 to 2026-10-02, weekly 7% target on XLP returned 2.4% annualized vs 5.8% for buy-and-hold: it trailed buy-and-hold by 3.4% per year, with a maximum drawdown of 23.8% (buy-and-hold: 16.0%).

How many trades did it make?

85 completed round trips over 5.7 years (170 fills), with 19% 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 rule do better than holding XLP?

No. Its CAGR was 2.37% and it finished at $11,436, against 5.8% and $13,819 for holding. The rule also took the deeper drawdown, 23.83% against 15.99%, and a Sharpe ratio of 0.27 against 0.51. It led only in 2024, 12.9% against 12%.

How often did the weekly rule trade XLP?

It closed 85 round trips with 170 fills and nothing open at the end. Sixteen won, a win rate of 19%. The average hold was 20.4 days and the median hold was 10.

Why is the win rate only 19%?

Any losing position is sold on Thursday afternoon, so most weeks end in a small loss, and a win needs a 7% gain from a fund with a typical daily range of 1.12%. The 16 winners all made about 7%, and the other trips averaged -1.35%.

Which trades were best and worst?

The best was 7.01%, bought on 2021-04-05 at $59.09 and sold on 2021-08-16 at $63.23 after 133 days. The worst was -8.07% over three days, from 2022-05-16 at $68.18 to 2022-05-19 at $62.68.

Do costs change the XLP result?

Yes, a lot. A 5 basis point charge cut the CAGR to 1.01%, and 10 basis points cut it to -0.11% with an ending value of $9,937. There were 170 fills against a thin edge per trade.

Would another profit target suit XLP better?

A 10% target made 4.3% a year with a 15.64% drawdown, and a 15% target made 3.51%, while a 5% target made 1.44%. All three variants still trailed holding at 5.8%, and the 10% result rests on 9 wins.

Related

Weekly Entry + 7% Target on all 59 ETFsfull results table All strategies on XLP12 templates compared RSI(14) Mean Reversion on XLPsame ETF, different rulesRSI(2) Dip Snapback on XLPsame 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.