Look-Ahead Bias
Look-ahead bias occurs when the backtest evaluates a signal or rule using data the live strategy couldn't have seen yet — a corporate action announced at 4pm fed into a 9:30am decision, an EPS revision retro-applied to dates before the revision, a 'close' price used in a same-bar entry that requires the close to be known. It produces inflated, fictitious backtest performance.
On This Page
Definition
Look-ahead bias
Look-ahead bias occurs when the backtest evaluates a signal or rule using data the live strategy couldn't have seen yet — a corporate action announced at 4pm fed into a 9:30am decision, an EPS revision retro-applied to dates before the revision, a 'close' price used in a same-bar entry that requires the close to be known. It produces inflated, fictitious backtest performance.
Why it matters
Look-ahead is a silent killer. Backtests with subtle look-ahead can show Sharpe ratios above 3.0 that vanish entirely in live trading. It's especially common in fundamental and event-driven strategies where vendor data is point-in-time only if you explicitly demand it.
How it works
Audit every input series for its 'as-of' timestamp. For fundamentals, use point-in-time databases that record the data as it was originally reported (not as it was later restated). For market data, decide explicitly whether your decision uses the close (you can't trade on it for that bar) or the open (you can). For event data, lag by at least the publication delay. Replay the backtest with random subsets of the time series shuffled — if performance is unchanged, you have look-ahead.
Example
Earnings-momentum strategy
Backtest Sharpe with restated EPS data
2.4
Backtest Sharpe with point-in-time EPS
0.8
Difference attributable to revisions
1.6
Two thirds of the apparent edge was the model knowing what EPS would later be restated to — information the live strategy couldn't have had on decision day. Real edge is 0.8 Sharpe, marginal.
Key Takeaways
Always use point-in-time data for fundamentals and analyst estimates.
Decision-time and execution-time are different — be explicit about which bar's close/open is available.
If a 'simple' rule produces Sharpe > 2 on a multi-year backtest, audit for look-ahead before celebrating.
Related Terms
Try These Tools
Run the numbers next
Price-Blind Research Auditor
Paste a research prompt or agent context bundle. The auditor flags price numbers, directional words, and outcome-leaking phrases that cause LLMs.
Backtest Overfitting Score
Upload a backtest trade log and compute Probability of Backtest Overfitting (PBO), Deflated Sharpe Ratio, and the odds your edge survives live trading.
FAQ
Questions people ask next
The short answers readers usually want after the first pass.
Sources & References
- Advances in Financial Machine Learning, Chapter 7 — Cross-Validation in Finance — Lopez de Prado (2018), Wiley
Related Content
Keep the topic connected
Survivorship Bias
Survivorship bias in backtests: why dropped tickers, delisted funds, and dead share classes systematically inflate historical returns.
Overfitting
Overfitting in trading-strategy backtests: how multiple-testing inflates apparent edges and the diagnostics that catch it.