r/algorithmictrading • u/MammothAd1639 • Aug 27 '25
Question Why Algo backtesting needs to be at least 5-10 years vs 1-2 for discretional backtesting?
If my EA is going to do the exactly same that I would do manually, why 1-2 year backtesting should not be ok?
0
Upvotes
2
u/fifth-throwaway Aug 27 '25
I disagree. I think both algo and discretionary both need to be way longer than 1-2 yrs.
4
u/profectusai Aug 27 '25
Because 1 or 2 years for a manual strategy isn't representative either, regardless of the number of trades, market regimes differ so much over a 5,10, and 20 year period that 2 years are just not a good enough representation of how well your strategy fares under different circumstances.
And then, why not test it for 10 years if you can? More data is always better, right?
1
u/algodude Mod Aug 27 '25
It depends on your trading frequency. For EOD systems, you generally need 20 years of data to test across multiple market regimes. A longer period also provides more trades/samples, making performance stats like CAGR and drawdown more statistically significant.
1
u/maciek024 Aug 27 '25
Ye, why isnt it?
3
u/cakeofzerg Aug 27 '25
You must understand the underlying driver of returns for your strategy and test within that context.
2
u/caffeine_addict_85 Aug 27 '25
When I test ANY EA from the market, I ALWAYS test it in 2020. This is the year of a very good time in the market, when all the nasty things happened. So if my algo can handle that shit, it’ll be fine in other years ass well. In general, if I want to have a clear picture, how does my algo behave - I test it from 2020 Jan 1 till up to date. Usually plays very good
1
u/robbyedit Aug 28 '25
If I want to test a day trading crypto algo that uses pattern recognition I don’t think I need too use 5 years worth of data ? Patterns are all well known providing I apply the right risk management strategy I should be good to go on 6 months? A lot of crypto tends to follow BTC
1
u/omega267 Aug 31 '25
100 trade simple