What is Overfitting?
Fitting a rule to random moves in past prices, not a real pattern. Also called curve-fitting. Try enough versions and one will look great by luck alone.
Learn it in 60 secondsFrom your pathLesson 4.1.4 · Backtesting and OverfittingThink of it like
A suit tailored to one photo of you standing still. It fits that pose perfectly, then pinches the moment you move.
Real example
A usual test passes 1 in 20 no-edge rules by luck. Ana tried 200 versions: 200 × 0.05 = about 10 lucky winners, if the versions were unrelated.
Key takeaway
- One great result from 200 tries is what luck predicts.
- So an honest backtest counts every version tried and tests once on unseen data.
- It also checks for prices you couldn't have known, for markets that vanished and for costs.
Lesson 4.1.4 · Backtesting and Overfitting