Learn › Strategies › First-to-Last Day of Month › IGIB

First-to-Last Day of Month on IGIB

iShares 5-10 Year Investment Grade Corporate Bond ETF: investment-grade corporate credit. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: monthly cycle on IGIB turned $10,000 into $9,844 (−1.6% total, −0.3% CAGR): it trailed buy-and-hold by 0.5% per year, with a maximum drawdown of 20.9% (buy-and-hold: 20.1%).

Calendar seasonality did not pay on IGIB. Run on IGIB, the iShares 5-10 Year Investment Grade Corporate Bond ETF, the monthly cycle template bought each month's opening session and sold at the open of the month's final session. Between 2021-01-04 and 2026-10-02 the $10,000 account became $9,843.65, a total return of -1.56% and a CAGR of -0.27%. The Sharpe ratio was -0.02 and the maximum drawdown 20.89%.

A plain hold of IGIB closed the window at $10,121.16, a CAGR of 0.21% and a drawdown of 20.13%. The calendar rule finished $277.51 behind, trailed by 0.48 points of CAGR, and carried a drawdown 0.76 points deeper. Neither line made much money. A bond fund that sits near flat for nearly six years leaves almost nothing for any timing rule to find, and the template description says as much: it holds about 95% of all sessions, so results track buy-and-hold minus the boundary days. Here exposure was 95.2%.

Two lines define the rule. Flat at the start of a month, it buys 98% of the sleeve. At the final session it sells all of it. No indicator is involved. The trade log has 69 closed round trips with 40 winners, a 58% win rate, and one position opened on 2026-10-01 that remained open at the end. The winners averaged 1.3% and the losers averaged -1.82%, which gives a profit factor of 0.96. Winning more often than losing did not rescue the result, since the average loss exceeded the average win.

IGIB sits in the bond category and is described in the facts as investment-grade corporate credit. Its own page, IGIB, has the full fund profile. Every figure here is hypothetical, from a 5.74-year window with no fees or slippage in the headline run.

−0.3%CAGR
0.2%buy & hold CAGR
−20.9%max drawdown
-0.02Sharpe ratio
69round trips
58%win rate
■ monthly cycle   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearmonthly cyclebuy & hold
2021−2.3%−1.6%
2022−15.7%−13.6%
20237.6%8.9%
20243.5%3.4%
20259.5%9.3%
2026−2.0%−3.3%

Calendar years against holding

The yearly table splits into three weak years for the rule's relative result and three years where it kept pace or edged ahead.

In 2021 the rule lost 2.3% and holding lost 1.6%. Trade one ran from 2021-01-04 at an adjusted 49.54 to 2021-01-29 at 49.12, a loss of 0.85% over 25 days. The monthly table then shows February at -1.79% and March at -1.5%, which were the two largest losing months of that year. The rule recovered a little in April to July, with gains of 0.61%, 0.49%, 1.17% and 1.06%, and gave some back in September and October. Twelve round trips closed in 2021 and 6 won.

2022 was the damage year. The rule lost 15.7% and holding lost 13.6%. Twelve round trips closed that year and only 3 won, the weakest count in the record. The monthly table has January at -2.18%, February at -1.91%, March at -3.39%, April at -4.2%, June at -3.02%, August at -2.81% and September at -3.82%. Only May at 1.52%, July at 2.51% and November at 2.96% were positive during the first eleven months. The rule held the fund for nearly every session of the year, so it took almost all of the decline in investment-grade credit. It sold on the last session of each month and bought on the first of the next, which cost it only the boundary days, and those boundary days did not help.

2023 returned 7.6% against 8.9% for holding, a gap of 1.3 points in the wrong direction. Six of twelve round trips won. The year was lopsided: November at 5.57% and December at 4.02% carried most of the return, January at 2.91% and March at 2.98% added more, and February at -3.57%, September at -2.12% and October at -1.16% took some back. Buy-and-hold made 5.68% in November, so the rule captured nearly all of the best month while leaving out the boundary days.

2024 is the first year the rule finished ahead, at 3.5% against 3.4%. Eight of twelve round trips won. 2025 returned 9.5% against 9.3%, with 11 of 12 round trips winning, the best ratio in the record. 2026, a partial year to 2026-10-02, shows -2% against -3.3% for holding, with 6 of 9 round trips winning. Counting up the columns, the rule finished ahead in the last three calendar years and behind in the first three.

The years it beat holding by small margins (0.1, 0.2 and 1.3 points) are the three years after the 2022 bond decline, when IGIB itself was recovering. In the years it lost ground, the gaps were -0.7, -2.1 and -1.3 points. The rule did not behave like a defensive filter. Holding for 95% of sessions and skipping the turn of the month left it close to the fund each year, and the gap changed sign when the fund's trend changed.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
2021−0.8%−1.8%−1.5%0.6%0.5%1.2%1.1%−0.3%−1.1%−0.8%0.2%0.6%
2022−2.2%−1.9%−3.4%−4.2%1.5%−3.0%2.5%−2.8%−3.8%−1.5%3.0%−0.8%
20232.9%−3.6%3.0%0.7%−1.0%−0.5%0.2%−0.2%−2.1%−1.2%5.6%4.0%
20240.5%−1.7%1.4%−1.8%1.6%1.1%2.6%1.6%1.4%−2.7%1.0%−1.4%
20250.7%1.8%0.2%0.1%−0.0%1.9%0.3%0.8%1.6%0.3%1.2%0.4%
20260.1%1.3%−1.7%0.5%0.4%0.8%−1.0%0.1%−2.5%0.2%––

The month-by-month pattern

Every month's return is the return of one trade, since the rule enters on the first session and leaves on the last. That makes the monthly table an almost direct record of the 69 round trips and the one open trade.

The best month was November 2023 at 5.57%, the same trade as the best round trip, 5.71% from 2023-11-01 at 41.65 to 2023-11-30 at 44.03. Holding also had its best month in November 2023, at 5.68%. The rule's worst month was April 2022 at -4.2%, while holding's worst was September 2022 at -4.67%. The two series put their worst months in different places even though the fund fell through most of that year.

The month-of-year averages for IGIB itself are worth reading as a calendar. November averaged 2.58% across 5 observations and July averaged 1.13% across 6. September averaged -1.44% and October -0.96%, and April averaged -0.71%. The monthly cycle rule has no way to use those averages, since it buys every month regardless. Five or six observations per average is thin, and November 2023 alone moves the November figure a long way.

The longest run of losing months was January to April 2022, and a second stretch from June to October 2022 was broken only by July. The 2023 run from August to October gave back some of the earlier gains. After 2023, losing months were scattered: April and October 2024, December 2024, March 2026, July 2026 and September 2026 at -2.52%. September 2026 at -2.52% is the most recent loss and sits inside the open drawdown described below.

The October 2026 row reads 0.22%, which is the open trade entered on 2026-10-01 at an adjusted 50.045. It is a one-day figure and should not be read as a result.

Every trade

monthly cycle on IGIB 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.30%, an average loser of −1.82%, a profit factor of 0.96, a longest losing streak of 4. It held a position at the close on 95.2% of trading days.

Best 10 round trips

EntryEntry priceExitExit priceReturnDays held
2023-11-01$41.652023-11-30$44.035.7%29
2023-12-01$43.972023-12-29$45.784.1%28
2023-03-01$42.202023-03-31$43.493.1%30
2022-11-01$40.522022-11-30$41.753.0%29
2023-01-03$42.352023-01-31$43.613.0%28
2024-07-01$45.822024-07-31$47.032.6%30
2022-07-01$42.772022-07-29$43.872.6%28
2025-06-02$48.942025-06-30$49.881.9%28
2025-02-03$47.732025-02-28$48.591.8%25
2025-09-02$50.502025-09-30$51.341.7%28

Worst 10 round trips

EntryEntry priceExitExit priceReturnDays held
2022-04-01$45.062022-04-29$43.12−4.3%28
2022-09-01$42.292022-09-30$40.64−3.9%29
2023-02-01$43.792023-02-28$42.19−3.6%27
2022-03-01$46.982022-03-31$45.35−3.5%30
2022-06-01$43.732022-06-30$42.38−3.1%29
2022-08-01$44.012022-08-31$42.74−2.9%30
2024-10-01$48.862024-10-31$47.50−2.8%30
2026-09-01$51.622026-09-30$50.29−2.6%29
2022-01-03$48.532022-01-31$47.45−2.2%28
2023-09-01$43.392023-09-29$42.45−2.2%28

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.

Reading the trade list

The log has 70 trades, 69 closed and 1 open. Median closed trade: 0.21% over 29 days. Holds ran from 25 to 30 days, a narrow band because calendar months differ by only a few sessions.

The best five trades all sit in the 2022-2023 recovery. November 2023 gave 5.71% over 29 days and December 2023 gave 4.12% from 2023-12-01 at 43.97 to 2023-12-29 at 45.78. March 2023 returned 3.06% and November 2022 returned 3.04% from 2022-11-01 at 40.52 to 2022-11-30 at 41.75. January 2023 returned 2.98% from 2023-01-03 at 42.35 to 2023-01-31 at 43.61.

The worst five trades are all in 2022 and early 2023. April 2022 lost 4.31%, from 2022-04-01 at 45.06 to 2022-04-29 at 43.12. September 2022 lost 3.9%, February 2023 lost 3.65%, March 2022 lost 3.47% and June 2022 lost 3.09%. Four of those five fall in 2022 and the fifth in February 2023. Prices here are adjusted for splits and dividends and sit below the quotes printed then.

Best and worst trades (5.71% and -4.31%) sit close together. A corporate bond fund moves in a narrow band over a month, so even the extremes are small.

By exit year the record reads 6 wins in 2021, 3 in 2022, 6 in 2023, 8 in 2024, 11 in 2025 and 6 in 2026, each from 12 trips except 2026's 9. The best winning run was 9 trades and the worst losing run was 4. The 9-trade run sits inside 2025. Win rate and profit factor must be read together: 58% wins with a profit factor of 0.96 means the losers were bigger than the winners, and the 2022 cluster is where most of that happened.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-01-042022-10-20−20.9%6542025-11-261133
2026-07-062026-09-29−3.9%85not yet–
2026-03-022026-03-27−2.6%252026-07-0297

Buy-and-hold's deepest drawdown ran from 2021-08-03 to 2022-10-20 and reached −20.1%.

The drawdown that took years to recover

The largest drawdown was 20.89%. The peak was 2021-01-04, day one of the test, and the trough came on 2022-10-20 after 654 days, and recovered on 2025-11-26 after 1,133 more days. The account spent almost five years below its starting high.

Buy-and-hold had a similar shape. Its peak was 2021-08-03, its trough was 2022-10-20 at 20.13%, and it recovered on 2025-06-26 after 980 days. Both lines found their low on the same day. Recovery for the rule arrived months after the fund's. The 2021 start explains part of that: the rule began at the peak with no gain to cushion it, and the small losses in 2021 meant its high-water mark was the very first day, while holding peaked in August 2021 after a few months of gains and a dip.

The second drawdown ran from 2026-07-06 to 2026-09-29 and reached 3.91% after 85 days. It had not recovered on 2026-10-02. Holding had a deeper figure over its own most recent drawdown, 4.78% from 2026-02-27 to 2026-09-30. The third was 2.61%, from 2026-03-02 to 2026-03-27, recovered on 2026-07-02.

A 20.89% drawdown for an investment-grade bond fund is large, and it comes from the 2022 rise in rates working through a fund of 5-to-10-year corporate bonds. The data here does not name a cause. It does show that the fund fell 13.97% in calendar 2022 and had a worst day of -1.76% on 2022-06-13, with other bad days on 2022-09-26 at -1.53% and 2022-04-05 at -1.21%. The rule held through all of them because it only sells on the last session.

The rule's maximum drawdown was 0.76 points deeper than buy-and-hold's. Skipping the turn of each month did not help in 2022, which was a year in which mid-month and boundary days both lost.

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)−0.3%−20.9%$9,844-0.02
5 basis points−1.4%−22.6%$9,197-0.21
10 basis points−2.6%−25.0%$8,594-0.41

What trading costs did to the result

Headline figures assume no costs. Add 5 basis points per fill and the CAGR drops to -1.45%, the drawdown rose to 22.58%, the Sharpe ratio dropped to -0.213 and the account ended at $9,196.73. At 10 basis points it is -2.6%, with a drawdown of 25.03%, the Sharpe -0.409 and the final value $8,594.19.

The rule made 139 fills, which is more than twice the number of round trips and works out to a buy and a sell every month. Each basis point is charged on every one. A strategy whose gross CAGR is -0.27% has no cushion, and a cost of 5 basis points turned it into a clearly negative number. Compare the buy-and-hold line, which made one fill.

Daily dollar volume in IGIB averages $90,382,863 and the median minute carries 1,684 shares, deep enough for a $10,000 position. The flat charge in the cost runs is an assumption and does not measure the fund's spread. A live account that rebalanced monthly would pay a real spread twice a month on this fund.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−0.3%−20.9%6958%$9,844
Only after a positive month−0.8%−14.9%3959%$9,575
Only above the 200-day SMA1.8%−7.8%3969%$11,059
With a 5% profit target−0.4%−20.9%6958%$9,781

What the three variants show

Three variants changed the rule, and they give very different results.

Buying only after a positive month, the momentum gate returned a CAGR of -0.75% with a drawdown of 14.92%, a Sharpe of -0.162 and $9,574.74. It made 39 trades and won 23. It traded less and drew down less than the base, but it made slightly less per year.

Buying only above the 200-day SMA, the trend gate was the one variant that made money. It returned a CAGR of 1.77% with a drawdown of 7.76%, a Sharpe of 0.473 and $11,059.1 from 39 trades with 27 wins. That is a win rate above 69% and a drawdown well below the base 20.89%. The gain comes from skipping the 2022 months when the fund was below its average, which is the period that damaged every other line on this page.

The third variant, a 5% profit target, returned -0.38% with the same 20.89% drawdown, a Sharpe of -0.034 and $9,781.44 over 69 trades with 40 wins. A target of 5% almost never triggers on a monthly bond trade. The best trade was 5.71%, so only one trade could have hit it. The variant behaves like the base.

The ordering is plain. A filter that keeps the account out of a falling market helped, a filter that looks at the last month did not, and a profit target changed nothing. The trend gate figure comes from 39 trades, and its 200-day line happened to sit well for the 2022 decline. It is a test result, not a statement about how the gate behaves in other periods. A related rule that trades far less, the 200-day regime filter, returned 1.36% on this fund.

How IGIB behaved

MeasureIGIB
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold1.3%
Annualized volatility6.3%
Deepest drawdown−20.6% (2021-08-03 to 2022-10-20)
Up days50.0%
Average daily range0.37%
Average overnight gap0.21%
Correlation to SPY0.35
Correlation to QQQ0.34
Correlation to TLT0.84
Sessions above the 200-day average66.3%
Crossings of the 200-day average52
Falls of 10% or more from a 20-day high0

How IGIB behaved over the window

The fund gained 1.26% in total across 1,444 sessions, with a CAGR of 0.22% and annualized volatility of 6.29%. Year by year it made -1.62%, -13.97%, 9.21%, 3.52%, 9.56% and, for 2026 to date, -3.4%. The deepest fall was -20.62% between 2021-08-03 and 2022-10-20, with recovery on 2025-06-26 after 977 sessions underwater.

Up days were 49.97% of the sample, averaging 0.3%, against down days averaging -0.31%. The intraday range averaged 0.37% and the overnight gap 0.21%. Lag-1 autocorrelation of 0.01 means one day told almost nothing about the next. The best days were 2.66% on 2022-11-10, 1.7% on 2022-09-28 and 1.47% on 2022-06-15. The worst were -1.76% on 2022-06-13, -1.53% on 2022-09-26 and -1.48% on 2021-02-25. Correlation with TLT reached 0.84 against 0.35 for SPY, with a beta of 0.14 to SPY, so the fund behaved as a rates fund first.

The overnight and intraday split is extreme. Overnight log return was 17.9% and intraday was -16.67%, so the overnight share of return was 1,451.15%. Every bit of the gain came while the market was closed and the trading day gave it back. Buying and selling at the open exposes the rule to both pieces, which is why it ended near the fund.

Over its 200-day average on 66.27% of sessions, IGIB crossed that line 52 times, which gives a trend gate work to do. RSI(14) dropped under 30 on 66 sessions, and the median 20-day return after those days was -1.91% against a baseline of 0.22%. RSI(2) went under 10 on 169 sessions, with a median 20-day return of 0.14%. A 10% fall inside 20 sessions never happened.

Closest in behavior are AGG and BND (0.96 each), IEF (0.92), IEI (0.89) and UST (0.87). Furthest are TBF (-0.84), KMLM (-0.45), USDU (-0.44), SDS (-0.35) and SPDN (-0.35).

The rules

Buy the first session of each month and sell the last, as a calendar-seasonality test.

  1. WHEN the first session of the month opens · IF not invested · THEN buy with 98% of the sleeve (once per month)
  2. 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.

How the monthly cycle ranks on IGIB

The monthly cycle ranked 11th of 12 templates on IGIB by CAGR and 37th of 59 funds for this template. Five templates made between 1.33% and 2.35%. The EMA 12/26 trend led with 2.35% and a 5.33% drawdown. The golden cross made 1.84% (drawdown 5.63%), the SMA 10/50 trend 1.73% (6.63%), the 200-day regime filter 1.36% (5.44%) and the RSI(2) snapback 1.33% (11.79%).

Further down, 3-month momentum made 0.25%, the trend plus trailing stop 0.06% and the weekly 7% target -0.05%. Two templates, the dip buyer and momentum breakout, stayed in cash at 0% CAGR and 0% drawdown. RSI mean reversion finished last at -0.48%.

The pattern is that every rule that looked at the fund's trend finished above every calendar rule, and their drawdowns were between about 5% and 12% where the monthly cycle's was 20.89%. A rule that sits out falling stretches draws down less, and a rule invested for 95% of sessions has no such option.

Across the bond category the same template made 2.98% on SGOV with a 0.06% drawdown. Next was IGIB at -0.27%, then IEI at -0.84%, AGG at -0.91%, BND at -0.95%, IEF at -2.69% and TLT at -8.08% with a 46.24% drawdown. The longer the duration, the worse the result, which fits a window that began just before a rate rise. The template median was -0.91% across the bond category and 5.46% across all 59 funds. All seven bond funds made 69 round trips. The strategy hub is at monthly cycle.

Where the test stops

One fund and one 5.74-year window make up the test, and the window begins at a peak. The 2022 bond decline fills most of the result, and the 12 round trips of 2022, 3 of them winners, drive the drawdown and the gap to holding. A different start date would put the first trade somewhere else and change the numbers.

A result of -0.27% a year from 69 trades of a calendar rule carries a wide margin of error, and the 0.96 profit factor and 58% win rate rest on the same count. Fees and slippage are absent from the headline run, and the cost runs add 5 and 10 basis points. These are hypothetical results that do not predict later periods, and the page gives no investment advice.

Run monthly cycle on IGIB 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 monthly cycle beat buy-and-hold on IGIB?

Over 2021-01-04 to 2026-10-02, monthly cycle on IGIB returned −0.3% annualized vs 0.2% for buy-and-hold: it trailed buy-and-hold by 0.5% per year, with a maximum drawdown of 20.9% (buy-and-hold: 20.1%).

How many trades did it make?

69 completed round trips over 5.7 years (139 fills), with 58% 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.

Was the monthly cycle ahead of buy-and-hold on IGIB?

No. The rule returned -0.27% a year against 0.21% for buy-and-hold and ended at $9,843.65 against $10,121.16. It finished ahead in 2024, 2025 and 2026 and behind in 2021, 2022 and 2023.

How often did the monthly cycle trade IGIB?

The count was 69 round trips and 139 fills, with 40 winners and a 58% win rate. A seventieth trade opened on 2026-10-01 and had not closed. The average hold was 28.4 days.

Why did the rule lose in 2022?

IGIB fell 13.97% in 2022 and the rule held it for 95.2% of sessions, so it took nearly all of the decline. The rule lost 15.7% and only 3 of its 12 round trips won.

How deep was the drawdown and how long did it last?

The maximum drawdown was 20.89%, from 2021-01-04 to a low on 2022-10-20, and it recovered on 2025-11-26. That is 654 days down and 1,133 days to recover. Buy-and-hold had 20.13%.

Did a trend gate improve the calendar rule on IGIB?

Yes. Buying only above the 200-day SMA returned 1.77% a year with a 7.76% drawdown and 27 wins in 39 trades. The momentum gate returned -0.75% and the 5% profit target returned -0.38%.

How much did costs matter for this rule?

The CAGR was -1.45% with 5 basis points per fill and -2.6% with 10, giving final values of $9,196.73 and $8,594.19. The rule makes 139 fills, so the charge is paid often.

Which of the 12 templates led on IGIB?

The [EMA 12/26 trend](/learn/strategies/ema-12-26-trend/igib/) came first at 2.35% CAGR and a 5.33% drawdown. The monthly cycle ranked 11th of 12. See the [IGIB fund page](/learn/etf/igib/) for the full table.

Related

First-to-Last Day of Month on all 59 ETFsfull results table All strategies on IGIB12 templates compared RSI(14) Mean Reversion on IGIBsame ETF, different rulesRSI(2) Dip Snapback on IGIBsame 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.