FRENESDE

Overfitting

Overfitting: your strategy fits the past so well that it has learned the noise, the random accidents of that history, instead of real market behaviour. The backtest is superb, the live results disappointing.
Typical symptom: an almost perfect equity curve on the data used to build the rule, then flat or falling on new data. A Sharpe dropping from 2.4 to 0.1 out of sample is a confession.
Causes: too many rules and filters, too many tuned parameters, too many trials, too few trades. Every added condition ("except Mondays", "only if RSI is between 37 and 41") hugs the past a little more without explaining anything.
Practical check: count the trades per parameter. 180 trades for 2 parameters = 90 per parameter, solid; 60 trades for 12 parameters = 5, fragile. Prefer a simple rule with an economic reason, then test it out of sample.

Examples

Key terms

Overfitting
A rule fitted too closely to the past, having learned randomness
Noise
Random variation with no lasting cause
Free parameter
A setting chosen by looking at the results
Out of sample
Data not used to build or tune the rule
Take the mission on Doji Academy

← Back to the index