Pro lessonUnderstanding Backtesting · 2/43 min read

Overfitting: when a backtest is too good to be true

Trying many parameter combinations can make a useless strategy look brilliant. Learn how overfitting happens and how to spot it.

Overfitting, also called curve fitting, happens when a strategy is tuned so closely to past data that it captures random noise instead of a real, repeatable pattern. It looks excellent in the backtest and then fails on new data.

Most strategies have parameters: adjustable numbers such as "use a 20-day average" or "exit after a 7% drop". Changing them changes the results. The trap is testing many combinations and keeping the best one.

Read the full lesson with DUKOIN Pro

Pro unlocks all 72 Academy lessons, every quiz and the practice challenges. Six modules stay free forever.

See plans

Education, not investment advice. Crypto prices can fall sharply and most retail traders lose money. Practice in DUKOIN uses virtual USD with no real value.