Drawdown Dip Buyer + 8% Target on IEI
iShares 3-7 Year Treasury Bond ETF: shorter-duration Treasuries with milder swings. 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 made no trades on IEI. Over 2021-01-04 to 2026-10-02 the account sat in cash with $10,000 and ended with $10,000: a 0% CAGR, 0 round trips, 0 fills, a maximum drawdown of 0% and a Sharpe ratio of 0. Buying and holding the same fund ended at $9,793.36, a CAGR of -0.36%. The rule's CAGR gap over holding is 0.36% a year, and the whole of that gap comes from not owning a fund that lost money.
The rule is a 10% drop from the 20-day high, followed by a buy with 98% of the account and a resting sell order 8% above the entry. IEI is the iShares 3-7 Year Treasury Bond ETF, a fund whose annualized volatility was 4.57% over the window. In 1,444 sessions it never fell 10% from a 20-day high. The count of those events in the data is 0, so the entry condition was never true.
That makes this page a test of a different question from the usual one. A zero-trade result does not show that the rule is good or bad on bonds. It shows that the rule's trigger is calibrated for funds that move far more than IEI does. The numbers that follow cover how deep IEI's drawdowns were and how slowly they came, what the other eleven templates did on the same fund, and what the parameter variants show. The dip buyer hub lists all 59 funds, and the IEI hub ranks all twelve templates on this one fund.
Year by year
| Year | dip buyer | buy & hold |
|---|---|---|
| 2021 | 0.0% | −2.5% |
| 2022 | 0.0% | −9.3% |
| 2023 | 0.0% | 4.3% |
| 2024 | 0.0% | 1.9% |
| 2025 | 0.0% | 6.6% |
| 2026 | 0.0% | −2.4% |
Year by year, a flat line against a falling fund
The dip buyer returned 0.0% in every calendar year from 2021 through 2026. Buy-and-hold returned -2.5% in 2021, -9.3% in 2022, 4.3% in 2023, 1.9% in 2024, 6.6% in 2025 and -2.4% in 2026, where 2026 is a partial year ending 2026-10-02.
The rule came out ahead of holding in three of the six years: 2021 by 2.5 points, 2022 by 9.3 points and 2026 by 2.4 points. It trailed in 2023 by 4.3 points, in 2024 by 1.9 and in 2025 by 6.6. Those yearly gaps are the mirror image of the fund's own returns, because the strategy's side of every comparison is zero. A flat year looks good next to a negative year and bad next to a positive one.
The 2022 gap is the largest number in the table, and it reflects the fund, not the rule. IEI lost 9.54% on a calendar-year basis in 2022, the year its drawdown reached 14.21% with a trough on 2022-10-20. A rule that was never invested missed all of it. The rule would have needed a 10% fall inside 20 sessions to act, and the fund produced no such fall even in its worst year.
Over the full window the fund's total return was -2.25% on the profile measure, or -2.07% on the buy-and-hold run that puts 98% of the account in at the first open. The two figures differ because the profile measures the fund's own prices and the buy-and-hold run holds a slightly smaller position.
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% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2023 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.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.0% | 0.0% | 0.0% | 0.0% | 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% | – | – |
Month by month, all zeros
Every cell in the monthly table is 0.0%, from January 2021 through September 2026, with October 2026 not yet complete. The best month and the worst month in the strategy's record are both listed as 2021-01 at 0, a placeholder for a record with no variation.
Buy-and-hold has a real monthly record. Its best month was 2023-03 at 2.83% and its worst was 2022-03 at -3.04%. The fund's own average month-of-year returns show where the pain sat: September averaged -0.98% and October -0.72% across six and five observations, while November averaged 1.32% over five. Those are small samples. A calendar rule built on them would rest on five or six data points per month.
None of that reached the dip buyer's account. An empty month table says the rule was waiting, and it does not say anything about whether the rule could have done better in any of those months.
The trade list is empty
No position was opened, so there are no entries, exits, holding periods or best and worst trades to list. The trade section of the page has nothing in it, and the fields for win rate, average win, average loss, profit factor and hold time are blank in the data.
The reason is in the entry condition. The rule asks whether the worst peak-to-trough move inside the last 20 sessions is deeper than -10%. For IEI that measure never crossed the line. The largest single-day moves in the data give a sense of scale: the best day was +1.45% on 2022-11-10 and the worst was -1.09% on 2022-06-13. The average daily range was 0.25%, the average up day was 0.22% and the average down day was -0.21%. Reaching a 10% drop inside 20 sessions would take a run of losing days far beyond anything in the data.
There is a difference between IEI's long drawdown and the kind of drop the rule watches for. The fund's deepest drawdown was 14.21%, but it took from 2021-01-04 to 2022-10-20 to reach, and the fund did not recover until 2025-10-16. The longest drawdown lasted 1,201 sessions. A slow slide of that kind never shows up as a 10% fall from a 20-day high, because the 20-day high keeps sliding down with the price. The rule detects sharp drops. IEI had a long grind.
Drawdowns: nothing to report for the rule
The strategy's drawdown table is empty because its equity never moved. Buy-and-hold has three listed drawdowns. The first ran 13.8% from 2021-01-04 to 2022-10-20 and recovered on 2025-10-16, after 654 days to the trough and 1,092 days to recover. The second began on 2026-02-27, bottomed at 3.88% on 2026-09-28 and had not recovered by the end of the data. The third was 0.73% from 2025-11-26 to 2025-12-09, recovered on 2026-02-05.
The rule's maximum drawdown gap to buy-and-hold is 13.8 points, which is the whole of the fund's own drawdown. That figure reads as an advantage and describes only the absence of a position. The risk the rule carries on funds that do trigger it is different. The template has no stop-loss, so a position that is bought on a dip and keeps falling rides the decline until the +8% target is reached or the strategy is stopped. That risk did not arise here because no position was opened, and it appears on the more volatile funds elsewhere in the library.
The fund's own risk measures show why a bond fund of this kind rarely triggers: volatility of 4.57%, and 0 falls of 10% or more from a 20-day high. The 3-7 year Treasury fund moved in a narrow band relative to the sharp-drop trigger this rule needs.
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) | 0.0% | −0.0% | $10,000 | 0.00 |
| 5 basis points | 0.0% | −0.0% | $10,000 | 0.00 |
| 10 basis points | 0.0% | −0.0% | $10,000 | 0.00 |
Cost runs
The cost table has three rows, and all three are the same: $10,000 final value, 0% CAGR, 0% maximum drawdown and a Sharpe ratio of 0 with no slippage, with 5 basis points and with 10 basis points per fill. Slippage is charged on fills, and the rule made none.
That is the cleanest cost result a strategy can have, and it carries no information about how the rule would handle costs on a fund it does trade. For that question the more active funds are the better guide. The rule has a median of 2 round trips across all 59 funds in the library, so costs matter little there either, and a single trade can dominate the result.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 0.0% | −0.0% | 0 | – | $10,000 |
| -7% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -15% drawdown / 8% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 6% target | 0.0% | −0.0% | 0 | – | $10,000 |
| -10% drawdown / 10% target | 0.0% | −0.0% | 0 | – | $10,000 |
Parameter variants, all zero
Four variants were run. A looser entry at -7% drawdown with an 8% target, a stricter entry at -15% with an 8% target, a -10% entry with a 6% target and a -10% entry with a 10% target. Every variant had 0 trades, a 0% CAGR, a 0% maximum drawdown, a Sharpe of 0 and a final value of $10,000.
The two target variants could never differ, because the target only matters after an entry. The drawdown variants are more informative. Loosening the entry to -7% is the change most likely to produce a trade, and it still produced none. IEI never fell 7% from a 20-day high within the window. The funds' worst days, around -1% each, make that plain. A trigger would have to be loosened a great deal more to find a first entry on this fund, and this test does not say where that point lies.
Because all five rows are identical, the table cannot be used to pick parameters for IEI. It can be used to see how far the fund is from the rule's operating range.
How IEI behaved
| Measure | IEI |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −2.3% |
| Annualized volatility | 4.6% |
| Deepest drawdown | −14.2% (2021-01-04 to 2022-10-20) |
| Up days | 48.2% |
| Average daily range | 0.25% |
| Average overnight gap | 0.16% |
| Correlation to SPY | 0.08 |
| Correlation to QQQ | 0.09 |
| Correlation to TLT | 0.80 |
| Sessions above the 200-day average | 59.2% |
| Crossings of the 200-day average | 42 |
| Falls of 10% or more from a 20-day high | 0 |
How IEI behaved
IEI is described in the data as shorter-duration Treasuries with milder swings. Over 1,444 sessions its annualized volatility was 4.57% and it rose on 48.23% of days. It fell 14.21% from 2021-01-04 to 2022-10-20 and ended the window with a CAGR of -0.39% on the profile measure. The average overnight gap was 0.16% and the average intraday range 0.25%.
Its correlation to SPY was 0.08 and to QQQ 0.09, so it moved almost independently of stocks. Its correlation to TLT was 0.8, and the funds most correlated with it were IEF at 0.97, AGG at 0.94, BND at 0.94, UST at 0.91 and IGIB at 0.89. The least correlated were TBF at -0.8, KMLM at -0.43, USDU at -0.39, CTA at -0.39 and RINF at -0.32.
The shape of the fund's trading explains the zero. The 5 best days came in 2022 and 2023, topped by 1.45% on 2022-11-10, 1.37% on 2022-09-28 and 1.2% on 2023-03-13. The 5 worst days were between -1.09% and -0.91%. A fund whose single worst day is about one percent has no easy way to lose 10% in four weeks.
Mean-reversion statistics are weak here as well. RSI(14) fell below 30 on 64 sessions, and the median forward return was -0.11% over 5 days and -0.65% over 20 days. RSI(2) fell below 10 on 183 sessions, with medians of -0.04% and -0.02%. The baseline medians were -0.03% over 5 days and 0.04% over 20. Oversold readings on IEI were not followed by a bounce. The fund stood above its 200-day average on 59.2% of sessions and crossed it 42 times.
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.
How the rules interact with this fund
The rule has two parts, and IEI exercised neither. The entry waits for a 20-day drawdown worse than -10%. The exit is a limit order at the entry price times 1.08. The target is large next to this fund's average daily range of 0.25%. An 8% gain would need many days of one-way movement, and the fund's best single day was 1.45%.
The category numbers tell the same story. Across the library's bond funds, the dip buyer's median CAGR was 0%. The category peers on the page are AGG, BND, IEF, IEI, IGIB and SGOV at 0 round trips and 0% CAGR each. TLT is the exception: it shows a -4.32% CAGR and a 27.81% maximum drawdown with 0 completed round trips, a combination that points to a position that was bought and still open at the end of the data, with no stop-loss to end it. Across all 59 funds the strategy's median CAGR was 1.33%.
The other templates on IEI show what a fund like this rewards. Trend plus trailing stop led with a CAGR of 1.43% and a maximum drawdown of 5.2%. RSI(2) snapback followed at 1.42% with a 6.87% drawdown, and SMA 10/50 trend had 1.24% with a 3.21% drawdown. The golden cross made 1.09%, the 200-day filter 1.03% and EMA 12/26 0.87%. The dip buyer and the momentum breakout tied at 0%. RSI mean reversion lost 0.2% a year with an 8.65% drawdown, the weekly 7% target lost 0.26% with 11.78%, 3-month momentum lost 0.59% with 3.76%, and the monthly cycle lost 0.84% with 15%.
The dip buyer is ranked 7 of 12 on IEI, and IEI is ranked 36 of 59 for this strategy, both positions reflecting ties at zero. The rules that followed the fund's slow drift did better than the one that waited for a sharp drop. See the trend plus trailing stop page and the SMA 10/50 page for the rules that did best, and the RSI(2) snapback page for the dip-style rule that traded.
Limits of this test
The test is one window of 5.74 years, daily-decision rules, minute fills, no margin and no fees in the headline run. IEI had no entry in that window. That is a finding about this window. A different period with a sharper bond sell-off could have produced one or more trades, and the data here cannot say.
A result of 0% does not make the rule safe. A 10% drop from a 20-day high would have triggered a purchase with no stop-loss attached. The backtest has not tested that branch on IEI. For that you need the funds where the rule did trade.
The IEI profile figures and the buy-and-hold run use different conventions, so the page carries two slightly different returns for the same fund: -2.25% total on the profile and -2.07% on the run that invests 98% of the account. Neither is an error, and both are shown where they apply.
Backtests are hypothetical and do not predict future results. Nothing on this page is investment advice, and live trading can lose money.
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 IEI?
Over 2021-01-04 to 2026-10-02, dip buyer on IEI returned 0.0% annualized vs −0.4% for buy-and-hold: it beat buy-and-hold by 0.4% per year, with a maximum drawdown 13.8 points shallower than holding (0.0% vs 13.8%).
How many trades did it make?
0 completed round trips over 5.7 years (0 fills).
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.
How many trades did the dip buyer make on IEI?
None. Across 1,444 sessions from 2021-01-04 to 2026-10-02, IEI never fell 10% from a 20-day high, so the entry condition was never true. The account stayed in cash and finished at $10,000.
Did the dip buyer beat buy-and-hold on IEI?
It finished ahead by 0.36% a year, 0% against -0.36%. Holding IEI ended at $9,793.36 with a 13.8% maximum drawdown. The rule's edge came from owning nothing, since it never traded.
Why does a bond ETF like IEI never trigger a 10% dip?
IEI's annualized volatility was 4.57%, and its worst single day was -1.09%. Its deepest drawdown was 14.21%, but it took 2021-01-04 to 2022-10-20 to arrive, which is a slow slide and not a sharp drop. The rule looks for a drop inside 20 sessions.
Does a 7% dip trigger work on IEI?
No. The -7% drawdown variant also made 0 trades and ended at $10,000. The -15% variant, the 6% target and the 10% target all gave the same flat result.
Which strategy worked best on IEI?
Trend plus trailing stop led with a 1.43% CAGR and a 5.2% maximum drawdown. RSI(2) snapback had 1.42% and SMA 10/50 trend had 1.24%. The dip buyer tied the momentum breakout at 0%.
Do slippage costs matter for the dip buyer on IEI?
Not in this run. With 5 and 10 basis points of slippage the result stayed at $10,000, because there were no fills to charge.
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.