Algo & backtesting

Overfitting (curve fitting)

Also known as: curve fitting, over-optimization

Overfitting is tuning a strategy so closely to historical data that it captures noise rather than a real edge, and fails on new data.

Symptoms include too many parameters, perfect-looking backtests and results that collapse out-of-sample. Guarding against it means simpler rules, out-of-sample testing and walk-forward analysis. A robust strategy works across many instruments and periods.

Related terms

Build strategies around overfitting (curve fitting) without code — drag nodes onto the Algovex canvas, backtest, and export.

Build a strategy free →