Look-ahead bias: your backtest uses information that was not yet known at the time of the decision. It is cheating with the future, often without noticing.
Classic case: the signal is computed on a candle's close, but the backtest buys at that same close, or even at the candle's low. Live, you only know the close once the candle is finished: the honest entry is at the next open.
Other traps: using the day's high and low to decide during the day; dating company results at quarter-end when they are published weeks later; using revised economic data instead of the first release.
Measured effect: if one signal in two comes before a +0.7% gap, buying at the close instead of the open overstates the gain by 0.5 × 0.7 = 0.35% per trade; over 200 trades, a 70-point gap (without compounding). Rule: each piece of data is dated when you could have known it.
Examples
LOOK-X (fictional market) : On this fictional market, spot the big candles that break a level. If your test buys "at the start" of those candles because they end higher, it uses the future: live, you only know that at their close.
November 2001: Enron restates its accounts : On 8 November 2001 Enron announced it was restating its accounts for 1997 to 2000, cutting its profits by about $586 million; the company went bankrupt in early December. A backtest using the corrected figures for those years would "know" what nobody knew at the time: only data as published (point-in-time) is honest.
Key terms
Look-ahead bias
Using future information in a past decision
Next open
First price available after the signal candle
Revised data
A figure corrected after its first release
Publication date
When a piece of information actually becomes available