ZTrader Macro & AI Notes

ZTrader Macro & AI Notes

Data Cleaning Part 3: Look-Ahead Bias and Survivorship Bias in Backtesting

Look-ahead bias lets a backtest use information it could not have had, and survivorship bias tests only the stocks that lived.

Dorian's avatar
Dorian
Nov 02, 2026
∙ Paid

By Dorian

For every backtest there are two default assumptions.

First, the backtest engine knew only what was knowable at the moment of execution.

Second, the engine only saw every liquid stock available to trade at that instant/ that particular timeframe.

In the Part 1 of this series listed both biases as consequences of dirty data, and Part 2 showed how …

User's avatar

Continue reading this post for free, courtesy of Dorian.

Or purchase a paid subscription.
© 2026 Liao Wunkai · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture