Noon Barbari

Bases du backtesting

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

La réponse la plus rapide, c'est un test

La plupart des questions « est-ce que X marche ? » se règlent empiriquement en une minute — sur données réelles, avec contrôle out-of-sample, gratuitement.

Backtester une stratégie gratuitement

Plus sur ce sujet

Contenu éducatif, pas des conseils financiers. Les chiffres backtestés et historiques ne décrivent que des périodes passées ; les performances passées ne préjugent pas des résultats futurs.