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

First-to-Last Day of Month on XLF

Financial Select Sector SPDR Fund: S&P 500 banks, insurers and asset managers. 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 XLF turned $10,000 into $18,809 (88.1% total, 11.6% CAGR): it trailed buy-and-hold by 0.9% per year, with a maximum drawdown 2.0 points shallower than holding (23.5% vs 25.5%).
11.6%CAGR
12.6%buy & hold CAGR
−23.5%max drawdown
0.73Sharpe ratio
69round trips
58%win rate
■ monthly cycle   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearmonthly cyclebuy & hold
202134.0%35.8%
2022−10.9%−10.4%
20238.8%11.9%
202430.4%29.9%
202514.6%14.7%
2026−1.6%−1.1%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20211.1%12.2%4.5%6.5%3.7%−4.8%−0.7%4.8%0.1%7.0%−5.0%1.5%
2022−2.4%−2.0%2.9%−7.5%1.8%−11.1%6.2%−0.0%−6.0%10.4%3.9%−5.6%
20234.9%−1.5%−9.1%1.3%−4.0%5.9%4.5%−2.0%−2.3%−2.9%9.4%5.8%
20244.5%4.2%4.3%−3.6%1.8%−1.1%6.4%3.4%−1.1%4.1%10.3%−5.3%
20256.4%1.2%−6.4%−3.2%4.1%3.2%0.5%4.4%1.4%−3.0%1.6%4.3%
2026−2.3%−2.6%−2.8%2.9%−2.0%4.8%5.6%0.7%−5.6%0.3%––

Every trade

monthly cycle on XLF 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 4.53%, an average loser of −3.74%, a profit factor of 1.58, a longest losing streak of 3. It held a position at the close on 95.2% of trading days.

Best 10 round trips

EntryEntry priceExitExit priceReturnDays held
2021-02-01$26.502021-02-26$29.8112.5%25
2022-10-03$28.722022-10-31$31.7810.7%28
2024-11-01$45.202024-11-29$49.9310.5%28
2023-11-01$30.952023-11-30$33.949.7%29
2021-10-01$34.642021-10-29$37.117.1%28
2021-04-01$31.012021-04-30$33.066.6%29
2024-07-01$39.882024-07-31$42.506.6%30
2025-01-02$47.382025-01-31$50.486.5%29
2022-07-01$29.192022-07-29$31.046.3%28
2023-06-01$30.162023-06-30$31.986.0%29

Worst 10 round trips

EntryEntry priceExitExit priceReturnDays held
2022-06-01$32.792022-06-30$29.08−11.3%29
2023-03-01$33.392023-03-31$30.28−9.3%30
2022-04-01$35.682022-04-29$32.96−7.6%28
2025-03-03$51.042025-03-31$47.72−6.5%28
2022-09-01$30.612022-09-30$28.73−6.1%29
2022-12-01$34.092022-12-30$32.13−5.8%29
2026-09-01$57.202026-09-30$53.94−5.7%29
2024-12-02$49.922024-12-31$47.20−5.5%29
2021-11-01$37.162021-11-30$35.28−5.1%29
2021-06-01$35.002021-06-30$33.30−4.9%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.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-01-122023-05-04−23.5%4772024-02-28300
2025-02-182025-04-08−18.0%492025-08-22136
2026-01-062026-03-27−12.2%802026-07-16111

Buy-and-hold's deepest drawdown ran from 2022-01-12 to 2022-10-12 and reached −25.5%.

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)11.6%−23.5%$18,8090.73
5 basis points10.3%−24.7%$17,5770.66
10 basis points9.0%−25.9%$16,4330.59

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules11.6%−23.5%6958%$18,809
Only after a positive month1.3%−31.3%4154%$10,775
Only above the 200-day SMA2.9%−26.0%4356%$11,809
With a 5% profit target14.7%−18.0%6965%$21,994

How XLF behaved

MeasureXLF
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold102.9%
Annualized volatility18.4%
Deepest drawdown−25.9% (2022-01-12 to 2022-10-12)
Up days52.9%
Average daily range1.40%
Average overnight gap0.49%
Correlation to SPY0.77
Correlation to QQQ0.59
Correlation to TLT-0.05
Sessions above the 200-day average71.2%
Crossings of the 200-day average38
Falls of 10% or more from a 20-day high10

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.

Run monthly cycle on XLF 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 XLF?

Over 2021-01-04 to 2026-10-02, monthly cycle on XLF returned 11.6% annualized vs 12.6% for buy-and-hold: it trailed buy-and-hold by 0.9% per year, with a maximum drawdown 2.0 points shallower than holding (23.5% vs 25.5%).

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.

Related

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