Noon Barbari

Backtesting-Grundlagen

What is lookahead bias in backtesting?

Lookahead bias is when a backtest uses information that would not have existed at the moment of the decision — the strategy "peeks" at the future. Classic examples: acting on a candle's close before the candle has closed, using an indicator computed over the full dataset, or entering at a day's low that was only knowable in hindsight.

It inflates results silently and is entirely an engine-quality issue: an event-driven backtester that feeds the strategy one bar at a time, with indicators warmed up incrementally, makes lookahead structurally impossible rather than something you have to remember to avoid.

Lookahead bias (glossary)Backtesting docs

Die schnellste Antwort ist ein Test

Die meisten "Funktioniert X?"-Fragen lassen sich in einer Minute empirisch beantworten — auf echten Daten, mit Out-of-Sample-Check, kostenlos.

Strategie kostenlos backtesten

Mehr zu diesem Thema

Bildungsinhalte, keine Finanzberatung. Backtest- und Vergangenheitswerte beschreiben nur vergangene Zeiträume; vergangene Wertentwicklung garantiert keine zukünftigen Ergebnisse.