Skip to content
Launch

Quant & backtesting

Backtest overfitting

When a trading strategy is tuned until it fits past data by chance, and so fails on new data.

What it is

Test enough variants of a strategy and one will look excellent on history purely by luck. The backtest then measures the search, not the strategy.

How to read it

Check results on data the strategy never saw (walk-forward tests), count how many variants were tried, and correct for it: the deflated Sharpe ratio and the probability of backtest overfitting (PBO) do exactly that.

Where to see it in the terminal