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%).
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%

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%––

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.

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%.

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

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

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

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.

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.

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.