The amount of historical data you use in your backtests is not a minor methodological detail. It is a fundamental decision that affects the statistical validity of your results, your ability to detect genuine edges versus noise, and the robustness of strategies that will eventually trade real money in live markets.
Most traders use too little data. The reason is typically convenience – it is easier to download 5 years of data than 20 years, and modern data is often cleaner. But convenience is not the right criterion for this decision. The right criterion is: how much data do you need to have genuine statistical confidence in your results?
The answer is almost always: more than you think.
Watch the clip below, then read on for the full breakdown.
The Trade Count Requirement
The primary reason to use more data is not to have longer historical coverage in years – it is to accumulate more trades. Statistical confidence in a strategy’s edge requires a minimum number of independent observations (trades), and insufficient trade count produces results that cannot be distinguished from random noise.
The minimum trade counts I use are:
- 100 trades: Minimum to say anything about a strategy’s behavior. At this count, the 95% confidence interval on win rate is very wide – approximately +-10%.
- 200-300 trades: Beginning to have meaningful statistical information. Can distinguish good from bad strategies in most cases.
- 400+ trades: Solid statistical foundation for deployment decisions.
Now consider what this means in terms of years of data required. A daily breakout strategy that generates 20 trades per year needs 400 trades to have a solid statistical foundation – that is 20 years of data. A weekly strategy generating 10 trades per year needs 40 years of data. An hourly strategy generating 100 trades per year needs 4 years.
Most traders backtest on 3-5 years of data. For daily or lower-frequency strategies, this gives them 60-100 trades – insufficient for meaningful statistical validation. They are essentially guessing, with the backtest providing a false sense of precision.
The Market Cycle Coverage Requirement
Beyond trade count, your data needs to cover multiple complete market cycles. A strategy tested only on bull market data (say, 2011-2018 in U.S. equities) has never been exposed to a genuine bear market environment. How it behaves during a prolonged downturn is unknown – and the bear market is precisely when many strategies fail catastrophically.
For major futures markets, the minimum cycle coverage I target:
- Equity index strategies: At minimum through one complete bear market (either 2000-2003, 2008-2009, or 2020). Ideally through two or more bear markets.
- Energy strategies: Through at least one major oil price collapse (1986, 1998, 2014-2016, 2020) and one spike (1990, 2008, 2022).
- Agricultural strategies: Through multiple full crop cycles including at least one drought year and one surplus year for the primary producing regions.
- Currency strategies: Through at least two complete major-cycle central bank pivots (both tightening and easing phases).
These coverage requirements often push the required data period to 15-20 years minimum and ideally 25-30+ years. Getting this data requires going beyond the default date range your backtesting platform provides and sourcing historical data from specialized vendors.
The Regime Coverage Argument
Markets go through different statistical regimes – periods of high volatility, low volatility, trending behavior, choppy behavior. A strategy tested on 5 years of data has been exposed to the specific regimes that happened to occur in those 5 years. If those years were predominantly trending (2020-2021 in equities, for example), your trend-following strategy looks excellent. If the next 5 years are predominantly choppy, the strategy will dramatically underperform its backtest.
Longer data periods expose your strategy to more regimes. A 20-year backtest will contain multiple trending periods, multiple choppy periods, multiple high-volatility periods, and multiple low-volatility periods. If your strategy shows robust performance across all of these regime types, you have much stronger evidence of a genuine durable edge than a strategy tested only on the recent 5-year period.
Data Quality Considerations
Longer data periods come with data quality trade-offs that you need to manage:
Older data may be lower quality: Futures data from the 1980s and early 1990s often has gaps, errors, and inconsistent continuous contract construction. When using older data, verify quality by cross-referencing against secondary sources and be aware of periods where data reliability is questionable.
Market structure differences: The market microstructure of 1990 was different from today. Floor trading, no electronic markets, very different participant composition. Be aware that your strategy’s edge in historical data may partly reflect old market structures that no longer exist. This is not a reason to avoid older data – it is a reason to weight recent data more in your assessment of expected live performance.
Continuous contract construction:**Futures contracts expire and new contracts start. How you stitch together historical data (forward-adjusted, back-adjusted, or unadjusted) significantly affects your backtest results. The standard recommendation for trend-following strategies is back-adjusted continuous contracts, which maintain percentage price relationships but can create negative prices in distant history for markets that have risen significantly. Understand your data construction methodology before trusting your backtests.
The Walk-Forward Implication
Walk-forward testing divides your total data into multiple in-sample and out-of-sample windows. The more total data you have, the larger your out-of-sample segments can be, which gives you more meaningful walk-forward results.
With 5 years of data and a 70/30 in-sample/out-of-sample split, your out-of-sample period is 1.5 years. With 20 years of data, your out-of-sample period across multiple walk-forward windows is 6 years – a much more meaningful validation of out-of-sample performance.
The connection between data volume and walk-forward quality is direct: more data enables more rigorous validation. For the complete validation framework and how data volume fits into it, see how I know a strategy is real and the predictive power of robustness testing.
Practical Data Sourcing Recommendations
For U.S. futures markets, here are the data periods available from major sources:
- TradeStation: Generally 10-25 years depending on market. Good starting point, easy access.
- CSI Data: Some markets going back to the 1970s-1980s. Best for very long historical analysis.
- Norgate Data: Excellent quality, typically 20-30 years for major markets.
- Premium Data: Similar scope to Norgate, strong on Australian and some international markets.
My minimum is whatever data the vendor provides back to at least 2000 (more than 25 years), and I use longer history wherever available. I do not truncate data to use only “recent” data unless there is a specific structural reason to believe older data is not relevant to the current strategy.
The Decision Rule: Use the Maximum Quality Data You Can Get
The practical rule is simple: always use the maximum historical data available that is of acceptable quality. There is no advantage to using less data – only disadvantages. Shorter data produces less statistically valid results, covers fewer market cycles, and gives you a less complete picture of how your strategy behaves across different conditions.
The only exception: if you have strong evidence that market structure has changed fundamentally in a way that makes very old data irrelevant to future performance (for example, market microstructure in equity futures before electronic trading is different enough that some traders explicitly exclude pre-2000 data). Even then, it is worth testing with and without the older data to understand what it contributes.
If you want to build trading strategies using the right data and the right validation methodology from the start, check out BreakoutOS. Take the free assessment and it’ll show you exactly where to start, built on the Mr. Breakouts Formula used by thousands of traders.