VALYNOXSTRATEGY RESEARCH TECHNOLOGY
AlphaPrimeAlphaPrime
ACADEMY / Markets and trading sessions

When is NQ contract rollover? Dates, volume roll and backtest gaps

NQ rolls four times a year: the March, June, September and December contracts each expire on the third Friday of their month, and most volume moves to the next contract about a week earlier. In a backtest, the price jump at each roll must be adjusted, and the extra round trip must be charged.

By · Published · updated · Editorial policy

Contents
  1. When is the NQ contract rollover?
  2. When should I roll NQ futures in practice?
  3. How do rollovers affect a backtest?
  4. What does a roll cost, and how do you put it in the backtest?
  5. Frequently asked questions
  6. References

When is the NQ contract rollover?

When is NQ contract rollover? Four times a year. The E-mini Nasdaq-100 future (NQ) trades on a quarterly cycle: March (H), June (M), September (U) and December (Z). Each contract stops trading on the third Friday of its month, and most volume moves to the next contract about a week before that Friday.

The two dates are different, and the difference matters. The expiration date is the exchange rule: trading in an NQ contract ends at 9:30 a.m. Eastern Time on the third Friday of the contract month. The practical roll date is when traders actually move: in the week before expiration, the expiring contract gets thin and the next contract takes over. If you wait for the Friday, you are trading the quieter contract for several days. The contract size of $20 × index and the tick of 0.25 points ($5.00) stay the same across all four contracts, which you can check in the free futures contract calculator. Exchanges can change these values, so confirm them on the exchange's contract page before you trade.

ContractMonth codeExpirationPractical roll
MarchHThird Friday of MarchAbout a week earlier
JuneMThird Friday of JuneAbout a week earlier
SeptemberUThird Friday of SeptemberAbout a week earlier
DecemberZThird Friday of DecemberAbout a week earlier
A one-year timeline with the four NQ contract months H for March, M for June, U for September and Z for December, each with its third-Friday expiration and a roll marker about a week earlier where volume moves to the next contract NQ rolls four times a year The roll comes a week before expiry H M U Z Mar Jun Sep Dec Roll: volume moves Expiry: 3rd Friday Expiry is a date; the roll is volume. So: act on the roll, not on Friday.
Four contracts a year. The expiration is the exchange date; the roll is when the volume moves, about a week before it.

The Micro contract (MNQ) follows the same cycle and the same expiration, so the roll plan below applies to both; the specs of each are compared in NQ and MNQ futures: Nasdaq-100 specs, sessions and backtest costs.

When should I roll NQ futures in practice?

Roll on the day the next contract's daily volume passes the expiring contract's volume, and do the exit and the entry in the same session. Volume is the fairest judge because it tells you where the fills are. The calendar tells you roughly which week; the chart tells you which day.

  1. From the Monday of roll week, put both contracts on one screen and compare the previous day's volume.
  2. When the next contract's volume is higher, that is your roll day. In most quarters this falls a few days before the third Friday.
  3. Close the position in the old contract and open the same size in the new one in the same session, so you are never flat and never doubled by mistake.
  4. Move stop and target orders to the new contract and adjust the price levels by the gap between the two contracts, which the next section explains.
Illustrative daily volume over ten trading days: the old contract's volume falls while the next contract's volume rises, and the first day the next contract is higher is marked as the roll day Volume picks the roll day Daily volume over ten days (illustration) Old contract Next contract Roll day Roll when the new volume is higher. So: compare both volumes from Monday.
Over roll week the volume moves from the old contract to the new one. The crossing day is the practical roll date.

A strategy that holds positions for weeks will meet this situation every quarter, and the strategy types in futures algo trading strategies: 5 types and how to backtest each that hold overnight are the ones that need a written roll rule.

How do rollovers affect a backtest?

A backtest on a continuous NQ series contains a price jump at every roll, and if that jump is left in, the equity curve shows profit or loss that no trader ever had. A continuous contract is a single price history built by joining the quarterly contracts end to end. The old and new contract trade at different prices on the roll day, because the new one carries about three more months of financing cost minus expected dividends. A roll gap is that difference, appearing as a jump at the join.

Back-adjusting is the method that shifts all earlier prices by the gap so the join is smooth. The alternative is to keep the raw join and tell the backtest that the jump is not a trade. Either way is honest; leaving the jump in is not.

SeriesPrice at the joinHistorical price levelsOpen position across the roll
Unadjusted (raw join)Visible jumpTrue prices of each contractBacktest books the jump as profit or loss unless told otherwise
Back-adjustedSmoothShifted; old prices can even go negative on long historiesNo false profit or loss from the join
The same price series across one roll: on the left the raw join shows a jump between the old and new contract labelled roll gap; on the right the earlier prices are shifted up so the back-adjusted series joins smoothly The roll leaves a price gap Same prices across one roll Raw join Back-adjusted Roll gap Old New Old New Shifted A raw join books profit nobody made. So: back-adjust, or mark the jump.
The same prices across one roll. Left: the raw join with its roll gap. Right: the back-adjusted series after earlier prices are shifted.

How much this matters depends on how often a strategy is in a position at the roll. The run below is an example from AlphaPrime (Valynox): NQ daily bars from 2019-01-02 to 2025-06-30, long and short, one contract, with a moving-average rule as the only entry and exit. It is a stand-in rule, not a rollover rule, chosen to show a position that lives through many rolls. The candidate is the one the search kept out of about a thousand it tried (1,024), for its return against its drawdown; picking the best one after the fact flatters the result, and nothing here says the rule earned that money or that a reader can expect it.

Source: AlphaPrime product engine (CPU), run 2026-10-31. NQ daily bars, 2019-01-02 to 2025-06-30, long and short, 1 contract, $20 commission and $10 slippage per trade.

NumberResult
Net profit (closed trades)$135,480
Max drawdown$135,820
Trades74
Win rate60.81%
Profit factor1.486
Average trade$1,830.81
Time in market91.75%
Look at how long each position lasts on the equity curve. With 74 trades over six and a half years, most of them span at least one quarterly roll.
Look at how long each position lasts on the equity curve. With 74 trades over six and a half years, most of them span at least one quarterly roll. NQ · daily · 2019-01-02 to 2025-06-30 · CPU engine backtest

Time in market of 91.75 percent across 26 quarterly rolls means almost every roll happened with a position open. On a series with raw joins, each of those 26 gaps would have gone straight into the result. The series you load decides this, so check the join before the first run; futures backtesting done right: specs, rollover, tick value, costs covers how to inspect it. Once the data is sound, backtesting in AlphaPrime runs every candidate on your own bar data with fees, slippage and next-bar execution, so a search over a long NQ history is already judged after normal trade costs; the roll costs of the next section are the part you add yourself.

What does a roll cost, and how do you put it in the backtest?

One roll costs an extra round trip of commission and slippage plus the spread between the two contracts, and a strategy that holds all year pays it four times. A smooth back-adjusted series hides this, because the join looks like one bar following another. The real trader paid to exit and to enter.

A hypothetical stacked bar for one NQ roll per contract: 2 dollars exit commission, 2 dollars entry commission, 10 dollars slippage on both sides and 5 dollars spread, about 19 dollars in total, paid four times a year by a strategy that holds all year What one roll costs Hypothetical, per NQ contract One roll $2 $2 $10 $5 $19 Exit fee Entry fee Slippage ×2 Spread One roll ≈ $19; four a year ≈ $76. So: add roll costs to the backtest.
One roll is built from four costs. A position held all year pays the whole stack at every quarterly roll.

Hypothetical example

Suppose commission is $2 per side and slippage is one NQ tick ($5) per side. The exit costs $7, the entry costs $7, and crossing the spread between the two contracts costs about one more tick, $5. One roll costs about $19 per contract. Four rolls a year cost about $76 per contract. Against an average trade of $500 that is small; against an average trade of $40 it decides whether the strategy is positive.

Two ways to charge it in a backtest:

  1. Add the roll cost to the per-trade cost. Count how many rolls an average trade crosses, multiply by the roll cost, and add that to the slippage setting. Simple, and it keeps the ranking of candidates honest during the search.
  2. Charge each roll date directly if your platform can place a forced exit and re-entry on the roll day. More exact, more work.

Set these costs together with the session and data settings listed in ES and NQ futures backtesting: five things to set first, before the first run rather than after. Then rerun your best NQ candidate with roll costs doubled: a strategy that holds for weeks should barely move, while one that only survived because of a smooth join will show it.

Frequently asked questions

What months does NQ expire?

NQ expires in March, June, September and December. The month codes are H, M, U and Z. Each contract stops trading at 9:30 a.m. Eastern Time on the third Friday of its month, and the cash settlement is based on the index opening that day.

When is Nasdaq futures contract rollover compared with ES?

NQ and ES share the same quarterly cycle and the same third-Friday expiration, so their rolls land in the same week. Volume in both usually moves to the next contract a few days before expiration. Check each contract's volume separately, because the crossing day can differ by a day.

Do I need to roll over futures contracts if I only day trade?

You do not hold a position across the roll, so there is no position to move. You still need to switch the contract you trade in roll week, because the expiring contract gets thinner each day and fills get worse. Trade the contract with the higher daily volume.

Where does NQ futures historical data download come from for a continuous backtest?

Data vendors and some brokers supply a continuous NQ series built from the quarterly contracts. Before you use it, check how the joins were made: which roll rule (volume or fixed date) and whether prices are back-adjusted. Two vendors can produce different continuous series from the same contracts, and the difference shows up as different backtest results.

References

  • CME Group. E-mini Nasdaq-100 Futures Contract Specs. https://www.cmegroup.com/markets/equities/nasdaq/e-mini-nasdaq-100.contractSpecs.html
  • CME Group. Micro E-mini Nasdaq-100 Index Futures Contract Specs. https://www.cmegroup.com/markets/equities/nasdaq/micro-e-mini-nasdaq-100.contractSpecs.html