
Cash-index data is the calculated value of the index itself. Index-futures data is the traded price of a contract on that index. For analyzing the index, use cash data. For testing a strategy you could actually execute, use futures data, built into a continuous series with a documented roll and adjustment method. The two series move together but are not the same numbers, and mixing them is one of the quietest ways to corrupt a backtest.
This guide is for quants, system developers and analysts who already have a strategy idea and need to choose the right price series before they spend weeks testing on the wrong one.
TL;DR
- Cash data is the index value. Futures data is a contract price that includes financing and expected dividends, so it sits above or below cash by an amount called basis.
- Futures and cash converge at expiry, so the gap is not a constant offset you can subtract.
- Use cash data to study the index. Use futures data to test anything you would trade through a futures contract.
- Futures history needs a roll rule and an adjustment method. Both change your results, and both should be documented.
- Check session hours, timestamps and bar gaps before trusting either series.
Table of Contents
- What each series actually represents
- Why futures trade above or below the cash index
- How this shows up in a backtest
- Handling rolls and adjustments
- Which one should you use?
- Data quality checks before you trust either series
- Our view on cash versus futures data
- Getting the data
- FAQ
- Sources
What each series actually represents
A cash index (also called the spot index) is a number calculated from the prices of its constituent stocks. You cannot buy it directly. Funds that track it hold the stocks, or a sample of them.
An index future is a different instrument. Per CME Group, stock index futures are quoted in index points based on the underlying cash index value, and their dollar value depends on the contract multiplier. CME also states that equity-index futures are not assets and carry no ownership rights or dividend income the way physical shares do.
So the two series answer different questions:
| Cash index data | Index futures data | |
|---|---|---|
| What it is | Calculated value of the index | Traded price of a contract on the index |
| Tradable directly | No | Yes |
| Includes financing and dividend expectations | No | Yes, through basis |
| Expiry and rolls | None | Quarterly or monthly contracts that must be stitched together |
| Trading hours | Tied to the underlying stock market sessions | Typically much longer sessions |
| Best for | Index analysis, long-run research, signal studies | Strategy tests meant to be executed |
The same logic applies to commodities. If you want the intuition in another market, this explanation of spot price versus futures shows why a quoted spot number and a contract price are not interchangeable.
Why futures trade above or below the cash index
CME Group defines basis as the futures price minus the spot-index value. The gap reflects the cost of carry: financing costs and the value of dividends expected before expiration. If financing outweighs expected dividends, futures trade at a premium. If dividends outweigh financing, they trade at a discount.
CME's educational example makes this concrete. On April 23, 2013, June 2013 E-mini S&P 500 futures were at 1,573.60 while the spot index was 1,578.78, a basis of -5.18 index points. That was a discount. The sign and size depend on the rate and dividend environment of the period, which is why you should treat that example as an illustration of the mechanics, not a typical value.
The gap closes at expiry
Index futures must theoretically converge to the cash index value at expiration, and CME explains that final settlement is against the spot value of the underlying index, subject to each contract's settlement procedure. Some contracts settle on a special opening quotation built from the opening values of constituent stocks, as in the E-mini Russell contracts.
The practical consequence: basis shrinks toward zero as expiry nears, then reappears in the next contract. A futures series therefore has a built-in drift relative to cash, and it is not a fixed number you can add back.
How this shows up in a backtest
Four things change when you swap one series for the other.
Levels. A moving-average or breakout level computed on cash will not match the same level computed on futures. Strategies that use fixed point distances, round numbers or prior-day levels can fire on different bars.
Gaps. Futures trade through much of the day. Cash indexes update only while their stocks trade. A strategy tested on cash sees an overnight gap where a futures trader sees a continuous market. Our guide to cash versus futures index sessions walks through how the hours differ.
Roll events. A futures series is a chain of contracts. Each switch from one contract to the next can create an artificial jump equal to the basis difference. Left untreated, that jump looks like a price move and can trigger signals that never existed.
Costs and fills. Cash has no spread, no slippage and no liquidity. A strategy that looks profitable on cash minute bars has not yet been tested against anything you can trade.
Handling rolls and adjustments
To test on futures you need a continuous series. There are two decisions: when to roll, and how to treat the jump between contracts.
When to roll
Common rules roll on a fixed number of days before expiry, on the date volume shifts to the next contract, or on a calendar date. Research on stock index futures by Carchano and Pardo found that rollover practice did not induce bias in the series examined and recommended rolling the day before expiry. Their thesis also reports no significant differences between the return series from the rollover criteria tested, so a simple rule can be enough. What matters more is that the rule is fixed, written down and applied identically across your whole history. We cover the options in rolling rules for futures contracts and futures rollover methods.
How to adjust
There are two broad approaches:
- Unadjusted (spliced) series. The contracts are joined as they traded. Real prices are kept, but each roll leaves a gap. Good for studying actual contract levels, risky for any indicator that reads price changes across the roll.
- Back-adjusted series. Earlier prices are shifted by the gap at each roll so that price differences stay intact. Returns across rolls are clean, but historical levels no longer match what printed on the screen. The adjustment is cumulative, which is why a long history can drift far from real prices. The thesis cited above notes that absolute methods can produce a "negative price syndrome" as gaps are subtracted from older data. For index futures in the modern price range this is rarely a practical issue, but it is a reason to know which method your data uses.
If your rules depend on price changes, such as momentum, volatility or stop distances, a back-adjusted series is usually the right base. If they depend on absolute levels, keep an unadjusted series alongside it. Our posts on building and using continuous futures data and what back-adjustment does go through the method step by step.
Which one should you use?
Match the series to the question.
| Your goal | Use | Why |
|---|---|---|
| Study the index itself: long-run trends, breadth, index-level seasonality | Cash | It is the reference value and has no roll artifacts |
| Test a strategy you will trade through index futures | Futures, back-adjusted | Same instrument, same sessions, clean returns across rolls |
| Test a strategy you will trade through an index CFD or a cash-referenced product | Check what the product references | Some products follow futures pricing, others follow cash |
| Estimate fair value, basis or carry | Both, aligned on timestamps | Basis is the difference between them |
| Build a signal on cash, execute on futures | Both, with the signal tested on the execution instrument | Signal-to-fill differences can change results |
The last row catches many developers. A signal that works on cash minute bars may behave differently on the futures price you actually trade, because of basis movement, overnight sessions and roll handling. Run the final validation on the instrument you will execute.
Data quality checks before you trust either series
The choice between cash and futures matters less than whether the file is sound. Before you run a test, check:
- Timestamps and time zone. Confirm whether bars are stamped at open or close, and which zone applies, including daylight-saving changes. A one-hour shift will move every session-based rule.
- Session boundaries. Know which hours the series covers. A cash series and a futures series cut at different times produce different daily bars.
- Missing and duplicate bars. Count the bars per day and compare against the expected number for the session. Holiday and half-day schedules are where gaps hide.
- Bad prints. Look for spikes that reverse within a bar and have no support in neighboring bars.
- Roll documentation. For futures, you need the roll dates and the adjustment method. If they are not documented, you cannot reproduce the result.
- Look-ahead risk. Make sure the series was not built with information from later bars. Our guide to intraday index data sourcing covers this, and the index data accuracy checks show how a small error can flip a result.
Minute bars make all of these issues more visible, because a single misplaced bar changes the signals around it.
Our view on cash versus futures data
We build minute-bar datasets for traders who need the numbers to hold up under a bar-by-bar test, and the cash-versus-futures question comes up constantly.
Our position is simple. Pick the series that matches the instrument you will trade, and insist on data that has been checked and documented. For futures, that means a documented adjustment, so you know what a price in your file represents. Our back-adjusted index futures datasets are made for that purpose, and they come ready to import into MT4 and MT5.
Clean data matters as much for AI-driven backtesting as for manual work. A model trained on gaps or bad prints learns the errors. This is why we verify data bar by bar and document the adjustments we make.
And because the engineers who collect the data also answer support questions, you can ask exactly how a given series was built.
Start
Getting the data
If you test index strategies on futures, our S&P 500 Pack Back Adjusted gives you a back-adjusted futures series ready to import into your platform. Futures-based series for other indices are also available, such as Nasdaq (NQ) daily and Nasdaq (NQ) 4-hour data. Our minute-bar sets run from 2014 across forex, metals, bonds and stock indices, and you download the complete set in one go. You can browse everything on the Historical Data page, and the Annual Plan is listed at €119 per year.
FAQ
What is the difference between S&P 500 and S&P 500 futures?
The S&P 500 is a calculated index value, and the futures contract is a separate traded instrument that references it. Futures may trade at a premium or discount depending on financing charges and dividend income. The two settle to the same figure at expiry.
Can I use cash index data to backtest a futures strategy?
You can use it for early research on the index's behavior. For a result you intend to rely on, validate on futures data. Basis, session hours and roll effects do not exist in cash data and can change entries, exits and drawdowns.
Do futures and cash prices ever match?
They converge at final settlement, when the contract settles against the underlying index value under the contract's settlement procedure. Before that, the gap moves with financing costs and expected dividends.
Does the roll method change my backtest results?
It can, mainly through where the adjustment lands and how your indicators read price changes across rolls. Published research found no significant differences between the rollover criteria tested, so consistency and documentation matter more than the specific rule.
Why do trading hours matter when comparing the two?
Futures trade over longer sessions than the cash index updates. Daily bars, overnight gaps and session-based rules differ as a result, so align both series to the same session definition before comparing them.
Sources
- CME Group: What is Equity Index Basis?
- CME Group: Understanding Stock Index Futures
- CME Group: E-mini Russell Index Futures
- Carchano and Pardo, rollover and price discovery in index futures
- Carchano, Essays on Stock Index Futures
Recommended
- Index Trading Hours: Cash vs. Futures Sessions, Explained
- Avoid Look Ahead Bias: Indices Intraday Data Sourcing for Quants
- Continuous Futures Data: How to Build and Use It
- Prevent Broken Backtests: Intraday Data Sources Practitioners Must Audit
Related resources
Explore BacktestMarket's Expert Advisor robots to put the ideas in this article into practice.


