How Long Should you Backtest a Trading System? - Traders Log (2024)

I am frequently asked how long one should backtest a trading system. Though there’s no easy answer, I will provide you with some guidelines. There are a few factors that you need to consider when determining the period for backtesting your trading system:

Trade Frequency

How many trades per day does your trading system generate? It’s not important how long you backtest a trading system; it’s important that you receive enough trades to make statistically valid assumptions*. If your trading system generates three trades per day, i.e. 600 trades per year, then a year of testing gives you enough data to make reliable assumptions*. But if your trading system generates only three trades per month, i.e. 36 trades per year, then you should backtest a couple of years to receive reliable data.

Underlying Contract

You must consider the characteristics of the underlying contract. The chart below shows the average daily volume of the e-mini S&P:

How Long Should you Backtest a Trading System? - Traders Log (1)

It doesn’t make sense to backtest a trading system for the e-mini S&P before 1999, because the contract simply didn’t exist! In my opinion it doesn’t make sense to backtest an e-mini trading system before 2002 because at that time the market was completely different; less liquidity and different market participants. I believe that a reliable testing period for the e-mini S&P are the years 2002 – 2004.

* What is “statistically valid”?

Recently I received an article from a Ph.D in Statistics. He explained the correlation between the sample size and the “margin of error” in the table below. The bigger the sample is the smaller the margin of error, but usually a sample date of 200 trades should be sufficient. If your trading system generates enough trades, then you should use 500 – 600 trades.

How Long Should you Backtest a Trading System? - Traders Log (2)

For more information visit RockwellTrading.com

How Long Should you Backtest a Trading System? - Traders Log (2024)
Top Articles
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 6616

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.