AI Research QQQ

QQQ turn-of-the-month effect — last trading day + first 3 of next month (last ~3 years)

The turn-of-the-month pattern didn’t explain QQQ’s rally over the last three years. I tagged the last trading day of each month plus the first three of the next and compared their compounded contribution to the rest of the sessions; those 144 ToM days were 19.2% of the 752 trading days but accounted for only about 12.78% of the total cumulative return.

Across the sample the remainder of sessions produced most of the gain and average daily returns were actually a touch higher outside the turn; the difference is statistically indistinguishable. Below is the full decomposition, monthly windows, t-test results and charts that back this conclusion.

The research question

For QQQ over the past ~3 years, does the 'turn-of-the-month' flow effect still pay — do the last trading day of the month plus the first three of the next capture the bulk of QQQ's entire cumulative return, while the other ~16 sessions of the month net out to roughly nothing? Thesis: those four calendar-driven days, barely 20% of all sessions, account for most of the index's gains as payroll/401k and index-rebalance money hits, so the middle of the month is dead money and the 'buy the turn' anomaly is alive rather than arbitraged away.

How this was measured

Built a daily close-to-close return series for QQQ limited to the last 36 months ending on the latest available date. Tagged turn-of-the-month (ToM) days as the union of (i) the last trading day of each calendar month and (ii) the first three trading days of the subsequent month. Decomposed cumulative performance using log returns: sum of logs over ToM days vs mid-month days, with expm1 to report compounded returns. Also computed a per-boundary ToM window return (prev month’s last + next month’s first three) for each month. Welch’s t-test compares mean daily returns on ToM vs mid-month days.

The key numbers

Trading days analyzed
752
2023-06-30 to 2026-06-30
Turn-of-month days
144
19.17% of sessions
Cumulative return — ALL days
102.6417%
Cumulative return — ToM days only
12.7801%
Cumulative return — mid-month days only
79.6786%
ToM share of total log-return
17.0289%
Computed in log-return space
Mean daily return — ToM
0.0912%
N=144
Mean daily return — mid-month
0.1057%
N=607
Welch t-stat (ToM vs mid)
-0.124
Positive favors ToM
Welch p-value (two-sided)
0.9017
p=0.9017 ≥ 0.05 → no statistically-clear mean gap
Fraction positive — ToM
59.72%
Fraction positive — mid-month
56.84%

Reading the numbers

Over the ~3-year window QQQ's cumulative all-day return is 1.0264 (about +102.6%). The four turn-of-month sessions (19.17% of days) produced cumulative 0.1278 (+12.78%) and account for 17.03% of total log-return — not the majority.

The charts

QQQ cumulative return — ToM vs mid-month vs all days
What this chart says

This cumulative-return line compares the three series from 2023-06-30 to 2026-06-30. Look at the end points: All-days finishes at 1.0264, mid-month at 0.7968 and turn-of-month at 0.1278 — the mid-month line carries the bulk of the upward movement. That directly contradicts a story that the four turn days alone drive most gains: visually and numerically the mid-month contribution is much larger.

Share of total log-return captured
What this chart says

The two bars show each subset's share of total log-return: turn-of-month 0.1703 versus mid-month 0.8297. Despite being ~19% of sessions, ToM captures only about 17% of log-return while mid-month captures roughly 83%. In log-return terms the middle-of-month dominates rather than the turn.

Daily return distribution — ToM vs mid-month
What this chart says

The box plots summarize daily returns for the two groups: means are almost the same (ToM mean 0.000912 vs mid-month mean 0.001057) and the distributions overlap a lot. ToM has a narrower observed range (min −0.0387, max 0.0434) while mid-month shows wider tails (min −0.0618, max 0.1362); fraction positive is 59.72% for ToM vs 56.84% mid, but the Welch test is tiny and p ≈ 0.9017 so there is no statistically clear mean advantage for the turn days.

Per-month ToM-window vs mid-month returns

monthtom_window_retmid_month_retmonth_total_rettom_days_in_window
2023-060000
2023-07-0.00540.04510.03953
2023-08-0.02280.0081-0.01514
2023-09-0.0062-0.0414-0.054
2023-100.0037-0.0266-0.02384
2023-110.05580.05480.10924
2023-12-0.00460.05540.05614
2024-01-0.03670.05540.02324
2024-020.01610.02520.054
2024-030.00360.01870.01164
2024-04-0.001-0.0465-0.04694
2024-050.00770.03550.06724
2024-060.02990.03570.06384
2024-070.0171-0.0318-0.00924
2024-08-0.03970.07710.0024
2024-09-0.02550.06210.0254
2024-10-0.00910.008-0.00444
2024-11-0.00060.03410.05124
2024-120.0323-0.01970.00374
2025-010.02-0.01020.01614
2025-020.0039-0.0359-0.02164
2025-03-0.0003-0.0661-0.08054
2025-04-0.03620.07120.0334
2025-050.02360.06980.07544
2025-060.02070.0450.06524
2025-070.0150.0140.02184
2025-08-0.02740.02050.01084
2025-09-0.00080.04020.05224
2025-100.00760.04330.05074
2025-11-0.0172-0.0052-0.01594
2025-120.0125-0.0126-0.00654
2026-010.0096-0.00580.00974
2026-02-0.031-0.0048-0.0244
2026-030.0097-0.0519-0.04044
2026-040.05570.13770.15124
2026-050.03070.07380.10494
2026-060.0027-0.0017-0.00234

The takeaway

No — the last trading day plus the first three of the next month did not capture most of QQQ’s gains over the past 36 months. Those ToM sessions were 144 of 752 trading days (19.2%) but compounded to only 0.127801 (≈12.78%) of the total, whereas the other sessions compounded to 0.796786 (≈79.68%); in log-return terms ToM contributed about 0.17029 (17.03%) of the total. Average daily returns were actually a hair higher outside the turn: 0.000912 (0.0912%) on ToM vs 0.001057 (0.1057%) mid-month, and the gap is statistically nil (Welch t = -0.124, two-sided p = 0.9017 with N=144 ToM days vs N=607 mid-month days). In short, this three-year sample gives no evidence that “buy the turn” captured the bulk of gains — the pattern is mixed month-to-month and not distinguishable from randomness. Practical takeaway: you wouldn’t have caught most of QQQ’s rally by trading only the turn days over this period; if anything, mid-month sessions drove more of the compounded gain.

The fine print