"How far back should my backtest go? I trade futures."
By Dave Mabe
Here's a question from Moses S. (name used with permission, edited slightly for clarity):
Moses S.
I've been studying your work, listening to podcasts, and really trying to make sense of the backtesting process. I trade futures and primarily trade the ES mini. I've listened and understand, to a point, the positives of testing a strategy across all equities and the potential negatives of testing a strategy in 1 market. I have a lot of questions, but if I could ask one question, it would be this:
I understand you normally backtest over the entire history. For the ES mini, how far back would you recommend testing?
Dave:
This might seem like a simple question, but it's fundamental to backtesting and strategy creation.
And it highlights a big difference between trading a single contract and a strategy that trades all equities.
Think about creating confidence in your strategy.
How much confidence can you have in a backtest with, say, 100 trades in it?
Now, compare that to a backtest with 10,000 trades.
Which backtest would you have more confidence in?
It should be clear that, all things being equal, the 10,000-trade backtest should give you more confidence.
Why?
Because you have so many more instances of your signal.
There's much less risk that the trades played out in the backtest due to chance.
So what does that mean for a strategy that trades a single contract?
You have to go much further back in history to create a backtest with enough trades to generate real confidence.
With strategies that trade futures contracts like the ES, this is a fundamental question.
But with equities, you don't have to obsess over it as much, since there are so many tradeable instruments on any given day that can exhibit the behavior your strategy is looking for.
In order to generate the type of confidence I'd need to trade a strategy in the ES, I'd need lots of history - as much as I could get my hands on.
This leads to a fundamental problem with this approach, which I'll go over tomorrow...
-Dave
P.S. Are you using Claude but still struggling to make money with your strategies? You're not alone. Add MabeKit to the mix. Claude can write the code. MabeKit will help you figure out what to build, how to test it, and whether it's worth trading. Get MabeKit Now