Does IEF Moving Average Timing Beat Holding Treasuries?
Market Timing Research • Does IEF Moving Average Timing Beat Holding Treasuries?
💡 Summary
Does a moving average rule improve on holding IEF throughout the backtest? The strategy returned 3.56% annualized, versus 4.40% for IEF, with a shallower maximum drawdown. Results were weaker in the out-of-sample period, even though the strategy outpaced IEF during that period.
Key Metrics & Specifications
| Test Period | 1994-01-03 to 2026-11-30 |
| Strategy CAGR | 3.56% |
| Strategy Max Drawdown | -16.15% |
| Strategy Sharpe | 0.68 |
| IEF CAGR | 4.40% |
| IEF Max Drawdown | -23.92% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 3.18% |
| Rules | At each month end, compare the close of intermediate US Treasuries (IEF) with the average of the last 10 month-end closes. Hold IEF for the next month if the close is above the average. Otherwise hold cash (Treasury bills) for the month. Decisions use the close; trades fill at the next day's close. |
| Out-of-Sample CAGR | 1.15% vs IEF 0.96% from 2016-12 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 3.56% | -16.15% |
| IEF | 4.40% | -23.92% |
Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.
1994-01-03 – 2026-11-30. Export dated 2026-12-01. Historical simulation; future results can differ. Read the underlying experiment.
⚡ Interactive Compound Growth Simulator
Adjust initial investment and holding duration to calculate compounded terminal wealth.
* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.
The question behind the backtest
Investors may want to know whether moving between intermediate-term Treasuries and cash can reduce losses without giving up too much return. This backtest compares that approach with holding IEF throughout the period.
The comparison covers 1994-01-03 through 2026-11-30 and reflects historical results, not a forecast.
How the rule works
At each month end, the strategy compares the IEF close with the average of the last 10 month-end closes. If the close is above the average, it holds IEF for the next month; otherwise, it holds cash in Treasury bills.
The decision uses the month-end close, and the trade fills at the next day's close. Moving average rules are used to follow a price trend and move to cash when the price falls below the chosen average, although that does not prevent losses.
What the results show
Over the full period, the strategy had a 3.56% annualized return and a -16.15% maximum drawdown. IEF returned 4.40% annualized and had a -23.92% maximum drawdown. The strategy's Sharpe ratio was 0.68, compared with 0.70 for IEF.
In the out-of-sample period beginning 2016-12, the strategy returned 1.15% annualized, compared with 0.96% for IEF. Its Sharpe ratio was 0.27, versus 0.18 for IEF. Both the strategy's return and its Sharpe ratio were lower than over the full period.
With trading costs doubled from 0.1% per leg, the strategy's annualized return was 3.18% and its maximum drawdown was -17.93%. The backtest recorded 121 trades.
Where the approach struggles
The strategy lagged IEF on annualized return over the full period and during the in-sample period, when it returned 4.61% versus 5.91% for IEF.
A shallower full-period drawdown did not mean the strategy avoided difficult years. In 2009, it returned -11.09%, compared with -6.59% for IEF. Changes in trend can also lead to trades that incur costs without improving subsequent results.
This is historical research, not a forecast. Past simulated results do not predict future returns.
⚠️ Risk Considerations
Historical results may not persist, and the out-of-sample period had a lower strategy return and Sharpe ratio than the full period. Actual results can differ from the backtest because trading costs, execution and market conditions may differ from those modeled.
🎯 Target Audience
This page is for readers comparing a moving average approach to intermediate-term Treasuries with holding IEF throughout the period.
Frequently Asked Questions (FAQ)
Q. Did the moving average strategy beat holding IEF?
It had a lower full-period annualized return: 3.56% versus 4.40% for IEF. Its maximum drawdown was shallower, at -16.15% versus -23.92%.
Q. Did the strategy beat IEF out of sample?
From 2016-12, the strategy returned 1.15% annualized, compared with 0.96% for IEF. That result does not establish that the advantage will continue.
Q. What happened when trading costs were doubled?
The doubled-cost run produced a 3.18% annualized return and a -17.93% maximum drawdown.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.