---
title: "What is Look-ahead bias? Meaning and example | TradeLiga"
description: "Using a price in a test that you couldn't have known at the moment of the trade. It makes a backtest look better than real trading can be. Marking your…"
url: https://tradeliga.com/en/glossary/look-ahead-bias
language: en
dateModified: 2026-11-27
---

[Risk & strategy](https://tradeliga.com/en/glossary?c=strategy)

# What is Look-ahead bias?

Using a price in a test that you couldn't have known at the moment of the trade. It makes a backtest look better than real trading can be.

[Learn it in 60 seconds](https://tradeliga.com/en/learn/w:look-ahead-bias)
[From your path **Lesson 4.1.4 · Backtesting and Overfitting**](https://tradeliga.com/en/learn/backtest)

## Think of it like

Marking your own exam with the answer sheet open: the score looks great, but you couldn't do it on the day.

## Real example

Rule: buy at today's close when it closes above the average. That close is only known once the day is over. The fix: buy at the next day's open.

## Key takeaway

- One great result from 200 tries is what luck predicts.
- So an honest backtest counts every version tried and tests once on unseen data.
- It also checks for prices you couldn't have known, for markets that vanished and for costs.

Lesson 4.1.4 · [Backtesting and Overfitting](https://tradeliga.com/en/learn/backtest)

## Frequently asked questions

**What does look-ahead bias mean?**

Using a price in a test that you couldn't have known at the moment of the trade. It makes a backtest look better than real trading can be.

**What is an example of look-ahead bias?**

Rule: buy at today's close when it closes above the average. That close is only known once the day is over. The fix: buy at the next day's open.

## Related words

- [**Hypothetical results** Results from a model, not real trades](https://tradeliga.com/en/glossary/hypothetical-results)
- [**Overfitting** Fitting a rule to luck in past prices](https://tradeliga.com/en/glossary/overfitting)
- [**Track record** A full, checked list of every trade](https://tradeliga.com/en/glossary/track-record)
- [**Unseen data** Prices kept back for one final test](https://tradeliga.com/en/glossary/unseen-data)
- [**Backtesting** Testing a trading rule on past prices](https://tradeliga.com/en/glossary/backtesting)
- [**Forward test** Running finished rules live on demo](https://tradeliga.com/en/glossary/forward-test)
- [**Basis risk** When a hedge misses what it protects](https://tradeliga.com/en/glossary/basis-risk)
- [**Pass mark** A result a system must reach, set first](https://tradeliga.com/en/glossary/pass-mark)

[All 477 words in the glossary](https://tradeliga.com/en/glossary)

---

Source: <https://tradeliga.com/en/glossary/look-ahead-bias>

TradeLiga is a free trading-education game: pretend money only, no financial advice.
