Skip to content

Look-ahead bias: when a backtest knows too much.

By Axiom Systematic · Published · Educational research note

Look-ahead bias occurs when a historical decision uses information that was not available at the time. A simulation can be internally consistent and still contain this error if its timestamps describe the period being measured rather than the time the information became usable.

A hypothetical reporting timeline

Suppose a company’s quarterly accounts cover a period ending on 30 September. In this fictional example, the figures are first published on 15 November. A research dataset labels the record “30 September” because that is the reporting period end.

Illustrative dates, not an actual company release
DateEventAvailable to the model?
30 SeptemberReporting period endsNo published figures yet
1 OctoberA simulated portfolio decisionOnly information already released
15 NovemberFigures first publishedPotentially, after the actual release time

If the backtest joins those figures to a 1 October decision using the period-end label, it gives the model information from the future. The result does not test the process that a researcher or trader could have followed on that date.

Use the availability timestamp

The important question is: “Could the proposed decision have used this value at this time?” A robust dataset distinguishes the period covered, the publication timestamp and, where relevant, the time the data became available through the chosen vendor.

An after-close publication may need to enter a later decision. Revisions need their own availability dates. Replacing an original observation with a later corrected value can change the historical information set even when the observation’s period label stays the same.

Timing also applies to prices and transformations

A signal computed from a completed session’s closing data cannot justify a trade placed earlier in that same session. The execution timestamp must follow the information required to construct the signal.

Preprocessing can leak future information too. For example, fitting a scaling transformation on an entire dataset before splitting training and evaluation periods lets the training process use properties of future observations. Fit transformations using the information available within each development window.

A practical review

  • Identify the availability timestamp for every feature, not just its observation date.
  • Check a small number of decisions against the underlying release timeline by hand.
  • Keep original and revised observations distinguishable.
  • Apply preprocessing inside each training window.
  • Verify that execution assumptions follow signal availability.
  • Record changes to the universe and the treatment of securities that leave it.

Chronological validation is necessary, but not sufficient

A time-ordered split prevents some inappropriate uses of future training observations. It does not repair a feature that already contains future information. The information timeline needs to be correct before the model is evaluated.

The TimeSeriesSplit documentation provides a concrete implementation of chronological splits and an optional gap. It is a tool for defining evaluation windows, not a guarantee that the underlying financial data are free from leakage.

For the surrounding process, read our quantitative research methodology. Once timing assumptions are explicit, trading costs are another part of testing whether a simulated decision could be implemented.

Axiom Systematic is in pre-launch development. General information only; no investment product is offered. Read the legal notice.

Axiom Systematic · Compliance Disclosures

The information published on axiomsystematic.com is intended strictly for general corporate and informational purposes. Nothing contained herein constitutes an offer to sell, an invitation or solicitation of an offer to buy, or a general solicitation or general advertising regarding any security, private fund, managed account, or financial instrument in the United States (including under Rule 506(b) of Regulation D under the U.S. Securities Act of 1933) or in any other jurisdiction. Any future private placement, if launched, would occur solely through definitive confidential offering documentation delivered privately to eligible professional or qualified institutional counterparties.

Axiom Systematic is currently a quantitative research and technology platform in pre-launch development. Neither Axiom Systematic nor its principals are currently authorized, licensed, or regulated as a fund manager, investment adviser, or financial services firm by the Dubai Financial Services Authority (DFSA), the UAE Securities and Commodities Authority (SCA), the Abu Dhabi Global Market (FSRA), the Cayman Islands Monetary Authority (CIMA), the U.S. Securities and Exchange Commission (SEC), the UK Financial Conduct Authority (FCA), or the Securities and Exchange Board of India (SEBI). No financial services or regulated investment activities are being conducted through or solicited via this website.

Nothing on this website represents investment, portfolio, legal, accounting, or tax advice, nor should any statement be relied upon in making any financial decision. In keeping with institutional compliance standards, no live track record, hypothetical backtest, simulated return, or performance projection is presented on this public website. Quantitative research and systematic trading involve substantial risks, including the potential loss of capital, model error, liquidity disruption, and regime shifts.

Access to this website may be restricted by law in certain jurisdictions, and visitors are responsible for informing themselves of and observing any applicable local laws or regulatory restrictions. References to global equity markets (including the United States, India, and China / Hong Kong) describe areas of internal quantitative research only and do not imply regulatory registration or public distribution in those territories. Any contact information voluntarily submitted through our corporate inquiry form is used exclusively to respond to general corporate or institutional counterparty correspondence and is not shared with third-party marketers. See our privacy notice.

Open as page