Algorithmic systems
What is Backtesting Overfitting (Curve Fitting) and how do I prevent designing an automated strategy that fails in live data?
By Easy Money Scanner · Educational reference · Not investment advice
The short answer
Backtesting overfitting (curve fitting) happens when a strategy is overly tuned to historical data's noise, making it appear profitable in testing but fail on new, unseen live market conditions.
How it works
Traders mitigate overfitting by using out-of-sample testing, walk-forward validation, and limiting the number of optimized parameters to avoid excessive data-mining bias in strategy design.
An example
A strategy with 20 optimized parameters fails live.
Risk & limitations
Impressive backtests rarely guarantee future live performance.
Examples are hypothetical, not trade recommendations. US contract and regulatory references do not automatically apply in Canada. Rules, margin requirements and broker policies can change; confirm them with the relevant authority and your broker.