Algo Trading School

Overfitting (curve fitting)

Every dataset contains patterns that happened by chance. If you adjust a strategy's parameters until the historical results look ideal, you inevitably absorb some of that noise — and noise does not repeat. The result is a strategy that looks brilliant in the backtest and mediocre or worse live.

Symptoms include: many finely-tuned parameters, performance that collapses when a parameter moves slightly, and results that differ wildly between adjacent time periods. Robust strategies tend to keep working across a range of settings.

Covered in depth in Lesson 04: Backtesting without fooling yourself.

Related terms

Get new lessons by email

Occasional, plain-language lessons on automated trading — the same tone as everything on this site. No signals, no promises, unsubscribe anytime.

We store your address to send you educational content and nothing else. See the privacy policy.