First-to-Last Day of Month on IEF
iShares 7-10 Year Treasury Bond ETF: intermediate Treasuries, a common 60/40 diversifier. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
IEF holds intermediate Treasuries, and this page tests the monthly cycle on it: own the fund from the first session's open to the last session's open of every month, then step aside for the final day. Because the position is on about 95% of sessions, the result tends to track the fund. The run starts in January 2021 with $10,000, ends in October 2026, and charges no fees in the headline figures.
The result was a loss. The CAGR was minus 2.69%, the total return minus 14.49%, and the account ended at $8,551. Buying and holding IEF lost 2.29% a year and ended at $8,756, so the monthly rule finished $205 behind. The maximum drawdown was 24.73% against 21.77% for buy and hold, and the Sharpe ratio was minus 0.36 against minus 0.29. Among the 12 strategies on this fund, monthly cycle ranks last by CAGR. IEF ranks 43rd of 59 funds for this strategy.
Over 5.74 years the account completed 69 round trips and filled 139 times. Winners numbered 32, so 46% of round trips made money. Wins averaged 1.52%, losses averaged 1.72%, and the profit factor came to 0.73. That means the winners added up to less than the losers. The window covers the 2022 bond selloff, in which both the fund and the strategy lost heavily, and the strategy never recovered the January 2021 peak by the end of the data.
Year by year
| Year | monthly cycle | buy & hold |
|---|---|---|
| 2021 | −4.0% | −3.3% |
| 2022 | −16.5% | −14.8% |
| 2023 | 2.4% | 3.5% |
| 2024 | −0.4% | −0.6% |
| 2025 | 7.2% | 7.8% |
| 2026 | −2.7% | −4.5% |
Year by year
Each calendar year tracks the fund. In 2021 the strategy lost 4% and buy and hold lost 3.3%. In 2022 the strategy lost 16.5% and buy and hold lost 14.8%. In 2023 it made 2.4% against 3.5%. In 2024 it lost 0.4% against a loss of 0.6%. In 2025 it made 7.2% against 7.8%, and in 2026 so far it lost 2.7% against a loss of 4.5%.
Only 2024 and 2026 came out ahead, by 0.2 and 1.8 points. The other four years lagged by 0.7, 1.7, 1.1 and 0.6 points. The 2022 gap is the largest of the four. The fund fell in most months of 2022, and the strategy skipped only the last session of each month, so it took nearly all of the decline and then paid for an exit and entry every month on top of it.
Trade results by exit year show the same pattern. Twelve round trips closed in each of 2021 through 2025, and nine in 2026 so far. The winners were 5 of 12 in 2021, 3 of 12 in 2022, 5 of 12 in 2023, 8 of 12 in 2024, 9 of 12 in 2025, and 2 of 9 in 2026. The win count follows the direction of the fund. In 2022, when the fund fell, only 3 monthly holds finished above the entry price. In 2025, when the fund gained, 9 did.
The one clear help came in 2026, a partial year ending in October, when the fund lost 4.5% and the strategy lost 2.7%. The account sat in cash around each month boundary, which helped in a falling year.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | −1.2% | −2.8% | −2.0% | 0.6% | 0.4% | 1.1% | 1.9% | −0.4% | −1.9% | −0.9% | 1.4% | −0.0% |
| 2022 | −1.7% | −0.8% | −4.5% | −3.4% | 1.4% | −1.1% | 1.6% | −3.8% | −3.3% | −2.2% | 1.7% | −1.6% |
| 2023 | 2.3% | −3.8% | 3.7% | 0.8% | −1.4% | −1.7% | −0.8% | −0.3% | −2.7% | −1.2% | 4.3% | 3.6% |
| 2024 | 0.2% | −2.5% | 0.7% | −2.5% | 1.3% | 1.8% | 3.0% | 1.4% | 1.1% | −3.7% | 0.8% | −1.6% |
| 2025 | 0.6% | 2.2% | 0.8% | 0.6% | −1.6% | 1.6% | −0.5% | 0.7% | 1.2% | 0.3% | 1.2% | −0.1% |
| 2026 | −0.3% | 2.3% | −1.8% | −0.1% | −0.0% | 1.0% | −1.1% | −0.1% | −2.8% | 0.3% | – | – |
Month by month
The worst month for the strategy was March 2022 at a loss of 4.52%. For the fund held outright the worst month was September 2022, down 4.56%. The best month for both was November 2023, at 4.28% for the strategy and 4.47% for buy and hold. IEF's annualized volatility was 7.39% and its typical daily move 0.36%, so a month of 4% is large.
The monthly series for 2022 is almost entirely negative. January lost 1.74%, February 0.78%, March 4.52%, April 3.41%, June 1.05%, August 3.76%, September 3.3%, October 2.24% and December 1.57%. The positive months were May at 1.38%, July at 1.65% and November at 1.72%. For a fund in the Treasury 7 to 10 year range, a loss of 4.52% in a month is a large move.
After 2022 the sign of the months flips more often. 2023 had a loss of 3.78% in February followed by a gain of 3.69% in March, then a loss of 2.72% in September, then gains of 4.28% in November and 3.64% in December. 2024 made 2.97% in July and lost 3.73% in October. 2025 had a better run: 2.18% in February, 1.64% in June, 1.17% in September and 1.19% in November, with the worst month a loss of 1.55% in May. 2026 has lost 1.84% in March, 1.11% in July and 2.78% in September, and gained 2.25% in February.
Calendar-month averages for IEF put November at 2.24% and September at a loss of 1.79%, from only 5 or 6 samples apiece, so they say little beyond this window. Monthly cycle takes whatever the month does, so the table above is largely a record of IEF itself.
Every trade
monthly cycle on IEF made 69 closed round trips and one position still open at the end of the test, an average hold of 28 days, an average winner of 1.52%, an average loser of −1.72%, a profit factor of 0.73, a longest losing streak of 6. It held a position at the close on 95.2% of trading days.
Best 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2023-11-01 | $80.35 | 2023-11-30 | $83.89 | 4.4% | 29 |
| 2023-03-01 | $83.67 | 2023-03-31 | $86.84 | 3.8% | 30 |
| 2023-12-01 | $83.76 | 2023-12-29 | $86.90 | 3.8% | 28 |
| 2024-07-01 | $85.17 | 2024-07-31 | $87.77 | 3.0% | 30 |
| 2023-01-03 | $84.81 | 2023-01-31 | $86.78 | 2.3% | 28 |
| 2026-02-02 | $93.16 | 2026-02-27 | $95.30 | 2.3% | 25 |
| 2025-02-03 | $87.18 | 2025-02-28 | $89.13 | 2.2% | 25 |
| 2021-07-01 | $98.75 | 2021-07-30 | $100.64 | 1.9% | 29 |
| 2024-06-03 | $84.76 | 2024-06-28 | $86.31 | 1.8% | 25 |
| 2022-11-01 | $82.80 | 2022-11-30 | $84.25 | 1.8% | 29 |
Worst 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-03-01 | $97.00 | 2022-03-31 | $92.49 | −4.7% | 30 |
| 2023-02-01 | $87.04 | 2023-02-28 | $83.66 | −3.9% | 27 |
| 2022-08-01 | $91.32 | 2022-08-31 | $87.79 | −3.9% | 30 |
| 2024-10-01 | $90.87 | 2024-10-31 | $87.39 | −3.8% | 30 |
| 2022-04-01 | $91.68 | 2022-04-29 | $88.46 | −3.5% | 28 |
| 2022-09-01 | $86.96 | 2022-09-30 | $84.01 | −3.4% | 29 |
| 2021-02-01 | $101.14 | 2021-02-26 | $98.22 | −2.9% | 25 |
| 2026-09-01 | $91.90 | 2026-09-30 | $89.28 | −2.9% | 29 |
| 2023-09-01 | $84.36 | 2023-09-29 | $82.02 | −2.8% | 28 |
| 2024-04-01 | $85.43 | 2024-04-30 | $83.19 | −2.6% | 29 |
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
The list holds 70 trades, 69 closed and 1 open. The first was entered at the open on 2021-01-04 at an adjusted 102.02 and sold on 2021-01-29 at 101.03, a loss of 0.97% after 25 days. The open trade was entered on 2026-10-01 at 88.8 and was up 0.29% on the last day. All prices here are split and dividend adjusted.
Half the trades returned less than minus 0.05%. Holds ran from 25 to 30 days, with a median of 29. Every trade is a one-month hold, which means the distribution is narrow in time and wide only in return. The best trade gained 4.41% and the worst lost 4.65%. The best run of winners was 5 in a row, and the worst run of losers was 6.
The trades have no stop and no target in the base rule. The result of each depends only on what IEF did between the first and last sessions of the month. With a median near zero, a win rate of 46%, and a profit factor of 0.73, the strategy is a coin flip on each trade with a slightly negative expectancy in this sample. The average win of 1.52% against an average loss of 1.72% shows the same asymmetry as the fund's own decline over the window.
The 69 round trips are the reason costs hurt. Each round trip is two fills, and the 139 fills include the open position's entry. A rule that trades 12 times a year on a fund that moves 0.36% on an average day gives up part of the edge on every transaction, as the cost runs show below.
Best and worst months held, and the day the rule skips
The five best holds were all in 2023 and 2024: 4.41% from 2023-11-01 to 2023-11-30, 3.79% in March 2023, 3.75% in December 2023, 3.05% in July 2024 and 2.32% in January 2023. The five worst were 4.65% lost in March 2022, 3.88% in February 2023, 3.87% in August 2022, 3.83% in October 2024 and 3.51% in April 2022. Three of the five worst fell in 2022. The March 2022 trade was entered on 2022-03-01 at 97 and sold at 92.49 on 2022-03-31. Prices are adjusted.
The rule skips one session a month, and the skipped session is rarely the one that matters. None of IEF's five best days, which include +2.26% on 2022-09-28 and +2.24% on 2022-11-10, fell on a month's last session. The same holds for the five worst days, led by -1.77% on 2022-06-13, followed by -1.68% on 2022-09-26 and -1.52% on 2022-03-02. All ten days were inside a holding period, so the rule took every one of them. The one-day exit saved nothing in this sample and cost a round trip each month.
September and October show how the calendar looks in the strategy's own record. September returned -1.89% in 2021, -3.3% in 2022, -2.72% in 2023 and -2.78% in 2026, and made 1.05% in 2024 and 1.17% in 2025, so four of six Septembers lost. IEF's own September average of -1.79% and October average of -1.31% agree, with 5 or 6 samples each.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-01-04 | 2023-10-19 | −24.7% | 1018 | not yet | – |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2023-10-19 and reached −21.8%.
The drawdown
The strategy has a single drawdown on record. It started at the peak on 2021-01-04, the first day of the test, and reached its low on 2023-10-19 after 1018 days. The depth was 24.73%. No recovery came before the data ended. The fund held on its own had matching peak and trough dates and a 21.77% depth, and it also stayed under water. The fund's own drawdown measured on closes was 22.23% and its longest drawdown covered 1443 sessions, which is the entire test.
The strategy's drawdown was 2.96 points deeper than the fund's. The extra depth comes from the transaction pattern. The one-day gap between each sale and the next purchase puts the strategy outside the fund at those moments, and the data shows the account lost more than the fund anyway. Missing a few of the up days while holding the down months is a path that deepens the loss.
The window starts at the high. IEF fell from January 2021 and made its low in October 2023, so a test that begins on 2021-01-04 contains almost the whole decline. A start date in late 2023 would produce a different picture and these figures would not apply to it. The bond market in 2022 saw the worst calendar year in this fund's data, with a loss of 15.16% for the fund and 16.5% for the strategy.
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.7% | −24.7% | $8,551 | -0.36 |
| 5 basis points | −3.8% | −27.2% | $7,988 | -0.53 |
| 10 basis points | −5.0% | −29.5% | $7,467 | -0.70 |
Cost runs
Frequent trading makes costs a larger factor for this rule. At 5 basis points per trade the CAGR fell from minus 2.69% to minus 3.84%, the maximum drawdown rose from 24.73% to 27.16%, the final value fell to $7,988 and the Sharpe ratio to minus 0.532. At 10 basis points the CAGR was minus 4.96%, the maximum drawdown 29.52%, the final value $7,467 and the Sharpe ratio minus 0.699.
Every extra 5 basis points cost the annual return about a point. With 139 fills over 5.74 years, the charge is applied about 24 times a year, and the effect compounds on a fund that already lost money. The gap to buy and hold at minus 2.29% widens from 0.4 points in the headline run to more than 1.5 points at 5 basis points.
IEF trades about $675,908,601 a day, with 7,536 shares in the median minute. Costs for small orders are probably at the low end of the range tested, so the 5 basis point run is the more realistic of the two. The frictionless headline number is the best case for the rule.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −2.7% | −24.7% | 69 | 46% | $8,551 |
| Only after a positive month | −1.9% | −15.0% | 35 | 49% | $8,953 |
| Only above the 200-day SMA | −1.1% | −13.2% | 33 | 48% | $9,399 |
| With a 5% profit target | −2.5% | −23.9% | 69 | 46% | $8,648 |
Parameter variants
Three variants change what the rule does. Buying only after a positive prior month made 35 trades with 17 wins and returned minus 1.91% a year, with a maximum drawdown of 14.96%, ending at $8,953. Buying only when the fund is above its 200-day average made 33 trades with 16 wins, and returned minus 1.07% with a drawdown of 13.18%, ending at $9,399. Adding a 5% profit target made 69 trades with 32 wins and returned minus 2.5% with a drawdown of 23.88%, ending at $8,648.
The two gates both improved on the default of minus 2.69%, and both cut the maximum drawdown a lot, from 24.73% to 14.96% and 13.18%. They did that by staying out of the fund for roughly half of the months, which the trade counts show. The trend gate was the better of the two, though it still lost money. The profit target changed almost nothing: a 5% gain in a single month is rare for IEF, and the trade count is the same 69 as the default.
None of the variants turned the result positive. In a window where the fund lost money, a rule that holds the fund for most months loses with it, and a gate reduces the loss only by holding less. The strategy overview gives the median CAGR across all 59 funds as 5.46%. The median across bond funds was minus 0.91%, which puts IEF below its peers.
How IEF behaved
| Measure | IEF |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −12.9% |
| Annualized volatility | 7.4% |
| Deepest drawdown | −22.2% (2021-01-04 to 2023-10-19) |
| Up days | 48.5% |
| Average daily range | 0.42% |
| Average overnight gap | 0.26% |
| Correlation to SPY | 0.09 |
| Correlation to QQQ | 0.10 |
| Correlation to TLT | 0.91 |
| Sessions above the 200-day average | 53.0% |
| Crossings of the 200-day average | 60 |
| Falls of 10% or more from a 20-day high | 0 |
How IEF behaved
IEF lost 12.95% over the window, 2.39% a year, with a maximum drawdown of 22.23%. It closed higher on 48.51% of sessions. The beta to SPY was 0.04 and to QQQ 0.03, and the correlation to TLT was 0.91, so it moved with long Treasuries and apart from stocks. Its calendar returns were a loss of 3.35% in 2021, a loss of 15.16% in 2022, 3.64% in 2023, a loss of 0.63% in 2024, 8.03% in 2025 and a loss of 4.58% in 2026 so far.
IEF closed above its 200-day average on 53.01% of sessions and crossed that line 60 times, a lot of crossings for a quiet fund and a reason trend rules got whipsawed here. RSI(14) fell below 30 on 64 sessions, and the median forward return was minus 0.09% over 5 days and minus 1% over 20 days. A bounce rule did not help either: RSI(2) below 10 on 186 sessions gave a median of 0.05% over 5 days and minus 0.21% over 20 days. Baseline medians were minus 0.04% and minus 0.02%. The fund had 0 drawdown events of 10% inside 20 sessions.
The overnight share of the fund's return was 81.25%. The average overnight gap was 0.26% and the average intraday range 0.42%. By day of week the averages were all within a tenth of a percent. The best day was 2.26% on 2022-09-28 and the worst a loss of 1.77% on 2022-06-13. Those two days sit in the same stretch as the rule's worst months.
Overnight returns, bounce statistics and the cash comparison
Overnight moves carried 81.25% of IEF's return over the window, with an overnight log return of -11.05% against -2.55% intraday. A rule that holds through almost every night therefore owns almost all of the fund's drift, up or down, which is why the monthly cycle and buy-and-hold ended so close together. By weekday the fund averaged -0.08% on Monday, 0.05% on Wednesday and 0.01% on Tuesday, too little to separate from noise.
The bounce statistics explain why a dip rule fared better than a calendar rule here. RSI(14) fell below 30 on 64 sessions, yet the median forward return was -0.09% over 5 days and -1% over 20 days, so oversold readings did not mark lows. RSI(2) below 10 on 186 sessions gave 0.05% over 5 days and -0.21% over 20. The RSI(2) snapback still earned 1.84% a year with a 12.86% drawdown because it held only briefly and sat in cash most of the time, which is what a falling bond fund rewards.
The peer table separates the trade count from the result. Monthly cycle made 69 round trips on SGOV, IEF and TLT alike. SGOV earned 2.98% with a 0.06% drawdown, IEF lost 2.69% with a 24.73% drawdown, and TLT lost 8.08% with a 46.24% drawdown. The rule's mechanics were identical, so the spread in results comes from what the fund did, with duration setting the size of the loss. IEF's correlation to TLT was 0.91, and its correlation to SPY was 0.09, so the rule offered no stock-market offset in this window.
The rules
Buy the first session of each month and sell the last, as a calendar-seasonality test.
- WHEN the first session of the month opens · IF not invested · THEN buy with 98% of the sleeve (once per month)
- WHEN the last session of the month opens · IF invested · THEN sell the whole position
This template uses no indicators. It tests the turn-of-the-month effect by holding from each month's first open to its last. Whatever it earns or loses comes from calendar seasonality alone, so it is a useful comparison against buy-and-hold on the same page.
Good for: measuring how much of an asset's return accrues inside the month versus across month boundaries.
Watch out: this is a research template. It holds ~95% of all sessions, so results usually track buy-and-hold minus the boundary days.
Monthly cycle against the other rules on IEF
The rule ranks last of 12 here. The RSI(2) snapback made 1.84% with a 12.86% drawdown and the SMA 10/50 trend made 1.33% with a 5.67% drawdown. The dip buyer and the momentum breakout made 0% because they never entered. The golden cross lost 0.29%, EMA 12/26 trend lost 0.39%, and the 200-day regime filter lost 1.53%. The weekly 7% target lost 1.54% and the trend plus trailing stop lost 2.13%.
Among bond funds, monthly cycle made 2.98% on SGOV, minus 0.27% on IGIB, minus 0.84% on IEI, minus 0.91% on AGG, minus 0.95% on BND, and minus 8.08% on TLT. IEF sits between IEI and TLT, in line with its duration. The longer the bond duration, the deeper the loss in this window.
The limits are the ordinary ones. The result is one window of 5.74 years that starts at the fund's high, uses daily decisions and no margin, and in the headline run charges nothing for trades. The monthly rule has no view on bonds. On a fund that fell for most of the window, it fell too, and the cost of 69 round trips made it fall further.
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 monthly cycle beat buy-and-hold on IEF?
Over 2021-01-04 to 2026-10-02, monthly cycle on IEF returned −2.7% annualized vs −2.3% for buy-and-hold: it trailed buy-and-hold by 0.4% per year, with a maximum drawdown of 24.7% (buy-and-hold: 21.8%).
How many trades did it make?
69 completed round trips over 5.7 years (139 fills), with 46% of round trips closing profitably.
Is the turn-of-the-month effect real?
It has appeared in long historical studies, but it depends on the market regime and is small. These pages show the recent five and a half years per ETF.
How did the monthly cycle perform on IEF?
It lost 2.69% a year from January 2021 to October 2026 and ended at $8,551 from $10,000. Buy and hold lost 2.29% a year and ended at $8,756. The maximum drawdown was 24.73%.
How many trades did it make?
There were 69 closed round trips and 139 fills, plus one open trade entered on 2026-10-01. The win rate was 46%, with an average win of 1.52% and an average loss of 1.72%.
Did trading costs matter?
Yes. At 5 basis points per trade the CAGR was minus 3.84%, and at 10 basis points it was minus 4.96%. The rule trades every month, so the charge is applied often.
Did a trend or momentum gate help?
Both reduced the loss. Buying only above the 200-day average made minus 1.07% with a 13.18% drawdown, and buying only after a positive month made minus 1.91% with a 14.96% drawdown. Neither turned the result positive.
Why did it lose more than buy and hold?
The gap was 0.4 points in CAGR and $205 in final value. The fund fell in most of 2022, and the strategy took that decline and also paid for leaving and re-entering each month. The maximum drawdown was 24.73% against 21.77%.
Which rule did best on IEF?
RSI(2) snapback made 1.84% a year and the SMA 10/50 trend made 1.33%. Monthly cycle ranked 12th of 12.
Is this a forecast?
No. It is a hypothetical backtest of one fund over 5.74 years that starts near the fund's high. The headline run has no fees or slippage.
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.