Drawdown Dip Buyer + 8% Target on SPY
SPDR S&P 500 ETF Trust: the most-traded S&P 500 ETF and a common benchmark for US large caps. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The dip buyer waits for SPY to fall more than 10% from its highest price of the last 20 sessions, buys with 98% of the sleeve, and rests a limit order 8% above the entry price. There is no stop. Between signals the account sits in cash. Over 2021-01-04 to 2026-10-02 that rule produced 2 round trips on SPY, both winners at +8.00%, and an ending value of $11,593 from $10,000. The CAGR was 2.61%, against 14.56% for buy-and-hold over the same window.
The result is a small sample with a clear shape. The strategy held a position on 22.8% of trading days, so for most of the window it earned nothing, and SPY rose in most of the years it sat out. It lost less than SPY in 2022, the one year in which holding was a bad idea, and it trailed in every other year. Its maximum drawdown was 15.97% against 23.99% for holding, and its Sharpe ratio was 0.3 against 0.95.
On the ranking of the 12 templates on SPY, the dip buyer comes last. Among the 59 funds tested with this rule, SPY ranks 28th. The test covers one window, a daily decision rule, fills on minute bars and no fees in the headline run.
Year by year
| Year | dip buyer | buy & hold |
|---|---|---|
| 2021 | 0.0% | 29.6% |
| 2022 | −4.3% | −17.8% |
| 2023 | 12.5% | 25.5% |
| 2024 | 0.0% | 24.3% |
| 2025 | 7.7% | 17.4% |
| 2026 | 0.0% | 13.6% |
How each year played out
2021: 0.0%, against 29.6% for buy-and-hold. The rule made no entry in 2021, so the account held cash all year. Buy-and-hold had its best calendar year of the window that year, and the strategy missed all of it.
2022: -4.3%, against -17.8%. This is the only year the dip buyer beat holding. The entry came on 2022-05-10 at an adjusted price of $382.04. The monthly figures show what the position went through after that: +1.7% in May, -7.9% in June, +8.8% in July, -3.9% in August, -8.8% in September, +7.7% in October, +5.3% in November and -5.5% in December. The strategy was invested for the second half of the bear market, and lost less than the fund because it was in cash for the first four months of the decline.
2023: 12.5%, against 25.5%. The 2022 position stayed open into 2023 and kept compounding. January gained 6.0%, February lost 2.4%, March gained 3.5%, April 1.5%, May 0.4% and June 3.0%. The exit came on 2023-06-09 when the +8% limit filled at $412.60. After that the account sat in cash for the rest of the year while SPY went on to finish the calendar year at 26.18%.
2024: 0.0%, against 24.3%. No entry. This is the year that costs the strategy most in relative terms, since SPY gained 24.86% and the rule never found a dip.
2025: 7.7%, against 17.4%. The second trade began on 2025-03-14 at $545.53 and closed on 2025-06-05 at $589.17. March gained 0.8%, April lost 0.8%, May gained 6.1% and June 1.6%.
2026: 0.0%, against 13.6%, with the year partial through 2026-10-02. Again no entry. Of the six calendar years, the strategy beat holding in one (2022) and finished at exactly 0.0% in three (2021, 2024 and 2026).
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | 0.0% | 0.0% | 1.7% | −7.9% | 8.8% | −3.9% | −8.8% | 7.7% | 5.3% | −5.5% |
| 2023 | 6.0% | −2.4% | 3.5% | 1.5% | 0.4% | 3.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 0.8% | −0.8% | 6.1% | 1.6% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
What the monthly figures show about when it was invested
The month-by-month table is mostly zeros, and the pattern of the zeros is the strategy. The account was in cash for all of 2021, from January to April 2022, from July to December 2023, for all of 2024, from January to February 2025 and from July 2025 onward. Only 22.8% of trading days had a position at the close.
The best month was July 2022 at +8.78%, which came 2 months into the first trade, and the worst was September 2022 at -8.81%. Buy-and-hold's best month was April 2026 at +10.33%, a month the strategy spent in cash, and its worst was also September 2022, at -9.0%. The two worst months coincide, which says that while the dip buyer was invested it behaved like SPY and took SPY's losses nearly in full.
The pairing of those two months is the useful point. The strategy does not hedge. It holds the fund at full size when it holds it at all, and the lower drawdown comes from the weeks and months spent in cash, not from any protection inside the position. In the 2022 trade the position fell from a June peak and from an August peak in the same way holding would have, and it reached its low on 2022-10-12, the same day as the fund's own low.
Every trade
dip buyer on SPY made 2 closed round trips, an average hold of 239 days, an average winner of 8.00%. It held a position at the close on 22.8% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-05-10 | $382.04 | 2023-06-09 | $412.60 | 8.0% | 395 |
| 2025-03-14 | $545.53 | 2025-06-05 | $589.17 | 8.0% | 83 |
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 two trades
Both trades closed at the target, so both returned exactly 8.00% before costs, and the win rate was 100%. The average hold was 239 days.
The first trade ran from 2022-05-10 to 2023-06-09 and lasted 395 days. The entry price was $382.04 and the exit $412.60, both adjusted for splits and dividends. This was the longest hold of the test. The position went through the June and September 2022 declines and the October low before it recovered, and the facts show the strategy's deepest drawdown of 15.97% came inside this trade.
The second trade ran from 2025-03-14 to 2025-06-05, 83 days, from $545.53 to $589.17. It was entered during the early-2025 decline, ahead of the low on 2025-04-08. SPY's worst days of the window fell in this period, with -5.98% on 2025-04-04 and -4.78% on 2025-04-03, and its best day, +9.39% on 2025-04-09, came the next week. The trade absorbed a 13.18% drawdown between 2025-03-25 and 2025-04-08 and recovered by 2025-05-12.
Neither trade is a measure of the rule's average behaviour. With a sample of 2, the 100% win rate has little statistical weight. The profit factor is undefined because there were no losing trades, and the longest losing streak was 0. What the sample does show is the rule's structure: it bought a deep dip and waited, and in both cases the market recovered enough to fill the target. A test window in which SPY kept falling after an entry would have left the position open at a loss with no exit rule to close it.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-08-16 | 2022-10-12 | −16.0% | 57 | 2023-06-02 | 233 |
| 2025-03-25 | 2025-04-08 | −13.2% | 14 | 2025-05-12 | 34 |
| 2022-06-02 | 2022-06-16 | −11.6% | 14 | 2022-08-10 | 55 |
Buy-and-hold's deepest drawdown ran from 2022-01-03 to 2022-10-12 and reached −24.0%.
Drawdowns against buy-and-hold
The maximum drawdown was 15.97%, from a peak on 2022-08-16 to a low on 2022-10-12 (57 days), with recovery on 2023-06-02 (233 days). Buy-and-hold's deepest drawdown ran from 2022-01-03 to the same low on 2022-10-12 and reached 23.99%, with recovery on 2023-12-13 after 427 days. The strategy's drawdown gap against holding was 8.02 points in its favour.
The second-deepest strategy drawdown, 13.18%, ran from 2025-03-25 to 2025-04-08 (14 days) and recovered by 2025-05-12 after 34 days. Holding had a drawdown of 18.41% in the same episode, from 2025-02-19 to 2025-04-08, which took until 2025-06-26 to recover. The third strategy drawdown was 11.56%, from 2022-06-02 to 2022-06-16 in 14 days, recovering on 2022-08-10 after 55 days.
Two of the three largest drawdowns come from the single 2022 trade, which means the table lists one long position viewed at different peaks. Its Sharpe ratio of 0.3 reflects that the account took equity-sized swings while invested and earned a return only 22.8% of the time. For SPY holders the shallower maximum drawdown is real in this window. It came from missing the first months of the 2022 decline, which is a timing outcome. The rule itself would not have limited the loss had the entry come earlier.
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) | 2.6% | −16.0% | $11,593 | 0.29 |
| 5 basis points | 2.6% | −16.0% | $11,594 | 0.29 |
| 10 basis points | 2.6% | −16.0% | $11,595 | 0.29 |
Cost runs
The headline run fills at the bar price with no fees or slippage. The cost runs charge 5 and 10 basis points on every fill. With only 4 fills in the whole test, the effect is small. The CAGR stayed at 2.61% in all three runs, and the maximum drawdown moved from 15.97% to 15.98%.
The ending values were $11,593.16 for the headline run, $11,594.15 at 5 basis points and $11,594.95 at 10 basis points. Ending value rose with slippage by a few dollars. That is the opposite of what a cost should do, and the facts do not explain it. The cause was not traced here. The gap is rounding-scale and should not be read as slippage helping the strategy.
The practical conclusion is about trade count. A strategy with 4 fills is nearly immune to per-fill costs, and its result depends almost entirely on what the market did, not on how it was traded. For comparison, the weekly 7% target on SPY and the RSI(2) snapback on SPY trade far more often, and costs matter to them in a way they do not here. The cost runs add no information about live trading beyond that the two limit-order fills would not have been materially different at 10 basis points.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 2.6% | −16.0% | 2 | 100% | $11,593 |
| -7% drawdown / 8% target | 5.3% | −21.5% | 4 | 100% | $13,433 |
| -15% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 6% target | 3.0% | −13.3% | 3 | 100% | $11,839 |
| -10% drawdown / 10% target | 3.2% | −16.0% | 2 | 100% | $11,991 |
What the parameter variants show
Four variants change one parameter at a time. The published rules are a -10% drawdown with an 8% target.
- -7% drawdown with an 8% target: 5.27% CAGR, 21.51% maximum drawdown, 4 trades all winning, $13,432.61 ending value, Sharpe 0.48.
- -15% drawdown with an 8% target: 0 trades, 0% CAGR, $10,000 ending value.
- -10% drawdown with a 6% target: 2.98% CAGR, 13.34% maximum drawdown, 3 trades, $11,839.21, Sharpe 0.37.
- -10% drawdown with a 10% target: 3.21% CAGR, 15.97% maximum drawdown, 2 trades, $11,991.45, Sharpe 0.35.
The entry threshold moves the result more than the target does. A shallower trigger of -7% fires more often, gives 4 round trips and a higher CAGR, at the price of a deeper maximum drawdown of 21.51%. A trigger of -15% never fires on SPY in this window, so the account stays in cash and ends at the starting $10,000. The trigger never fired in the 1,444 sessions.
The target changes the result in smaller steps. A 6% target adds a third trade and a lower drawdown of 13.34%. A 10% target keeps 2 trades and the same 15.97% drawdown, with a CAGR of 3.21%.
These variants are a sensitivity check, not a search for better settings. Every variant has at most 4 trades, and choosing the -7% version because it scored best on this window would be fitting to 4 events. All four variants still trail buy-and-hold's 14.56% CAGR by a wide margin. The strongest variant is the -7% trigger at 5.27%, which still sits well below the benchmark. The dip buyer hub shows how the published rule behaves across other funds.
How SPY behaved
| Measure | SPY |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 125.3% |
| Annualized volatility | 16.4% |
| Deepest drawdown | −24.5% (2022-01-03 to 2022-10-12) |
| Up days | 54.4% |
| Average daily range | 1.15% |
| Average overnight gap | 0.44% |
| Correlation to QQQ | 0.94 |
| Correlation to TLT | 0.08 |
| Sessions above the 200-day average | 78.0% |
| Crossings of the 200-day average | 30 |
| Falls of 10% or more from a 20-day high | 11 |
How SPY's behaviour shaped the result
SPY was above its 200-day average on 77.99% of sessions and crossed it 30 times, with 54.4% up days and an average daily range of 1.15%. It is a fund that spends most of its time rising in small steps. A dip-buying rule needs sharp short-term falls, and SPY produced few of them: 11 episodes of 10% or more from a 20-day high, over 23 days.
The oversold readings tell a similar story. RSI(14) fell below 30 on 18 sessions, and the median forward 5-day return after those sessions was 3.74%, with a 2.86% median over 20 days, against baseline medians of 0.42% and 1.73%. Dips did tend to recover on SPY, which is why both trades hit the target. The sample is thin, though, and 18 sessions came from a few clusters.
Among the peers in the broad index category the rule did better on several other funds. IOO returned 8.28% CAGR with a 10.81% drawdown over 6 round trips. QQQ returned 5.37% with a 28.56% drawdown over 4 trades. IWM returned 3.08% with 2 trades, and VOO, returned 2.62% with a 15.83% drawdown and 2 trades. The category median was 4.11%. Funds that fell harder or more often gave the rule more entries; SPY's calmer path gave it 2.
The SPY ETF page ranks all 12 templates on this fund. The weekly 7% target led at 13.88% CAGR, followed by the RSI(2) snapback at 13.17% and the monthly cycle at 12.84%. The EMA 12/26 trend rule returned 10.2% with an 11.84% drawdown, and the SMA 10/50 trend rule 7.94% with a 12.68% drawdown. The dip buyer at 2.61% was last. The RSI mean reversion template, the nearest relative by idea, returned 4.37%.
The rules
Wait for a 10% drawdown from the 20-day high, buy it, and take profit at +8%.
- WHEN the market opens · IF not invested AND the 20-day drawdown is worse than −10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed limit order rests at entry price × 1.08
A rule-based buy-the-dip. The entry is a measured 10% drawdown inside the trailing 20 sessions, and the exit is a resting +8% limit order. Between signals the sleeve sits in cash, so the template can wait months for an entry.
Good for: assets that sell off hard and recover; it trades volatility without chasing strength.
Watch out: no stop-loss: if the dip keeps falling, the position rides it down until the +8% target is reached or the strategy is stopped. Trade counts are low, so single trades dominate results.
What the entry rule asks of SPY
The entry condition is a 20-session drawdown worse than -10%. The engine measures the drop from the highest price in the trailing 20 sessions to the current price, and when it is deeper than 10% and the strategy is flat, it buys at the next open with 98% of the sleeve. A managed limit order then rests at the entry price times 1.08. When the order fills, the position closes and the strategy waits again.
SPY is a hard fund for this rule to trigger on. Its annualized volatility over the window was 16.41%, and the facts count 11 separate episodes in which it fell 10% or more from a 20-day high, spread over 23 trading days in total. Those 23 days are 23 out of 1,444 sessions. A rule that needs one of those days to buy has little to do on a fund that rarely falls that far that fast.
The strategy also has no exit other than the target. If SPY keeps falling after the entry, the position stays open until the price recovers 8% above the entry or the test ends. The template's own description says the same: no stop-loss, and trade counts low enough that single trades dominate the result. Both of those facts show up in the numbers below. The dip buyer hub lists the same rule on all 59 funds, and the median CAGR there was 1.33%, so SPY at 2.61% sits above the median of the set.
Limits of this test
The test is one window, from 2021-01-04 to 2026-10-02, on one fund, with one set of rules and 2 closed trades. A window that began earlier or later would hold different dips. The result depends on the dates of two entries. Prices are adjusted for splits and dividends, so the trade prices are lower than the quotes printed at the time.
The headline run has no fees or slippage, and the cost runs add 5 and 10 basis points. Fills happen on minute bars, and decisions are made once a day. Backtests are hypothetical and do not predict live results. The numbers describe what the rule did in this window, and nothing in them is a forecast or a recommendation.
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 dip buyer beat buy-and-hold on SPY?
Over 2021-01-04 to 2026-10-02, dip buyer on SPY returned 2.6% annualized vs 14.6% for buy-and-hold: it trailed buy-and-hold by 12.0% per year, with a maximum drawdown 8.0 points shallower than holding (16.0% vs 24.0%).
How many trades did it make?
2 completed round trips over 5.7 years (4 fills), with 100% of round trips closing profitably.
What counts as a 10% dip?
The engine computes the worst peak-to-trough move within the last 20 sessions. When it is deeper than −10%, the entry condition is met. Both the window and the threshold are editable parameters.
Did the dip buyer beat buy-and-hold on SPY?
No. From 2021-01-04 to 2026-10-02 the dip buyer returned 2.61% a year and ended at $11,593 from $10,000. Buy-and-hold returned 14.56% a year and ended at $21,820. The strategy had the shallower maximum drawdown, 15.97% against 23.99%.
How many trades did the dip buyer make on SPY?
It made 2 closed round trips and 4 fills. The first ran from 2022-05-10 to 2023-06-09 and the second from 2025-03-14 to 2025-06-05. Both closed at the +8% target.
Why did the strategy sit in cash for so long?
The entry needs SPY to fall more than 10% from its 20-day high. SPY had 11 such episodes over 23 days in 1,444 sessions, and the rule holds one position at a time until the target fills. The account held a position on 22.8% of trading days.
What happens if SPY keeps falling after the entry?
The rule has no stop-loss. The position stays open until the +8% limit fills or the test ends. In the 2022 trade the position was held for 395 days and had a drawdown of 15.97% before the target filled.
Would a different drawdown trigger have done better?
A -7% trigger gave 5.27% CAGR with 4 trades and a 21.51% maximum drawdown. A -15% trigger never fired, so the account stayed at $10,000. Each variant rests on 4 trades or fewer, so the figures show sensitivity and are not a recommendation for settings.
Do trading costs change the result?
Very little. With 4 fills in total, 5 and 10 basis points of slippage left the CAGR at 2.61% and the maximum drawdown at about 15.98%. The ending values were $11,594.15 and $11,594.95 against $11,593.16 for the headline run.
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.