Glossary

What is overfitting?

Overfitting is tuning a trading strategy so closely to past data that it fits random noise instead of a repeatable pattern.

A backtest shows how a set of rules would have traded one stretch of history. Every input you tune and every variant you try gives the rules another chance to line up with moves that happened once. The result looks better on the data it was tuned on and says less about any other data.

Researchers put it plainly: given any financial series, it is relatively simple to overfit a strategy so that it performs well on the data used to design it (Bailey et al., 2014). Typical signs are a top result that rests on a few trades, a setting whose neighbours do much worse, and a pick that falls apart on data it did not see.

In practice

In our study of 2,000 backtests of a Stoch RSI + Gaussian channel strategy on BTC/USDT 4h, the top result made +11.27% while buy & hold lost 0.57% – from just 2 trades, one of them a winner. With at least 6 trades, the best result was +7.58%, and it still rested on one winning trade.

Simulated results on historical market data. Past performance is not indicative of future results. Not investment advice.

Read more

Topic: Overfitting

Part of the guide: Overfitting and luck

Sources