TradehouseBuyer guides & toolsPricingPart of TradeHouse

TradeHouse Fidelity Lab · Guides

Look-ahead bias in backtests

Look-ahead bias is any use of information in a backtest that would not have been available when the trading decision was made. It is the most damaging form of contamination because it can make a strategy with no edge look excellent, and it is often invisible in the equity curve.

Common causes

How to detect it

  1. For each feature, write down the time it becomes known and compare it with the decision time.
  2. Delay all fills by one bar. A large performance drop points to timing leakage.
  3. Check for features whose correlation with the outcome is implausibly high.
  4. Compare backtest fills with the quotes that were actually available at the stated time.

How Fidelity Lab flags it

Look-ahead is a BLOCKER-severity detector in Fidelity Lab. It flags outcomes or features stamped before entry, and records created after the outcome they predict. A related detector, oracle lag, flags settled win rates far above the price paid, the signature of a stale quote scored as a fill. The report names the specific legs, so you can fix the data at the source and re-run.

Try it on your own trades. The free Fidelity Lab tier runs one report a month on up to 5,000 legs: all 11 contamination detectors, cost re-netting and the walk-forward verdict. Run a free report or see pricing.

Frequently asked questions

Is look-ahead bias the same as overfitting?

No. Overfitting comes from selecting among many trials. Look-ahead bias comes from information leaking from the future. A backtest can have either, or both.

Can look-ahead bias exist in a strategy with no parameters?

Yes. It is about timing of information, not the number of parameters.

Related guides

All buyer guides and tools

Educational content, not investment advice. Updated 2026-10-28.