Point-in-time data: what did the backtest know?
A backtest is a sequence of historical decisions. At each decision, it must use the information that was actually available then. A financial statement’s reporting period, a macroeconomic observation date, and the date a number became available are different things; confusing them can make a strategy look predictive by giving it future information.
A future revision changes the apparent signal
Toy signal truly known at decision time is 10 bp; using a later revision adds hindsight.
One observation has several clocks
Suppose a company’s quarter ends March 31, earnings are released May 8 at 16:30 New York time, and a vendor ingests the release at 16:32. A strategy deciding at the May 8 regular-session close cannot use those earnings: the announcement came later. A strategy deciding at 09:30 on May 9 can use them only if its actual data pipeline would have made them available by then.
A useful event record separates:
- Reference period: the period the number describes, such as the quarter ending March 31.
- Publication time: when the issuer or agency released that version.
- Availability time: when the strategy’s actual source and processing made it usable.
- Version: the initial value, correction, or later restatement.
For a decision at time , an as-of query must only consider versions with availability timestamps at or before . Among eligible versions of the same observation, it selects the most recent version available then. A report’s period-end date alone is not a valid substitute for its availability time.
Revised data can rewrite history
Macroeconomic series are routinely revised. Suppose an initial reading for a month is released as 2.0 on June 10, then revised to 2.4 on July 10. A decision on June 20 can use 2.0; a decision on July 20 may use 2.4 if the revision was available to the strategy. Downloading today’s latest series and joining by the month being measured would place 2.4 into both decisions, silently leaking the revision into June.
A vintage-aware dataset retains both the date described and the date on which each version became available. Release calendars and time zones matter near a decision boundary. Where only daily data exist, choose and disclose a conservative availability rule rather than assuming an intraday release was known at the open.
A historical universe is part of the information set
Using today’s index constituents to construct a portfolio in a past year conditions the historical selection on subsequent additions, deletions and survival. Instead, reconstruct eligibility and membership as known on each formation date. Preserve securities that later delist, and account for delisting proceeds or returns using a documented data convention. A missing final price is not automatically a zero return.
Stable security identifiers help track ticker changes, mergers, share-class changes and corporate actions. Adjusted price series need particular care: a vendor may retrospectively change history after splits or distributions. Whether that causes leakage depends on the signal and the adjustment; reconstruct the data transformation as it would have been available and check that returns and holdings treat corporate actions consistently.
Test the information boundary
Practical checks are often more revealing than one global lag:
- Store a decision timestamp with each signal and the latest availability timestamp of every input used to create it. Assert that no input arrives after the decision.
- Rebuild a few historical dates by hand from archived releases and compare the signals with the backtest.
- Delay inputs by an additional session and inspect whether results change in a plausible way. A large change is a diagnostic, not proof of leakage by itself.
- Test historical universe membership and final outcomes of delisted names independently of the signal calculation.
- Keep a final evaluation period untouched by both model selection and data-cleaning decisions when feasible.
A correct join is necessary, not sufficient
A point-in-time feature table can still leak through a scaler fitted on all dates, labels that overlap evaluation periods, or same-close execution that was unavailable after computing the signal. Recreate the entire training, decision and execution sequence. See purged cross-validation for one way to address overlapping labels.
Practice
TimingEarnings for a March quarter are announced after the May 8 close. Can a strategy acting at that close use them?Show answer
No. The quarter-end date precedes the decision, but publication occurs after it.
VintageA value is first released at 2.0 and revised a month later to 2.4. Which value belongs in a decision between the two releases?Show answer
The first release, 2.0, assuming it was available to the strategy by that decision time.
UniverseWhy can screening a 2015 portfolio using today's listed companies be misleading?Show answer
It conditions the old universe on future listing and survival, potentially excluding companies that later delisted and their subsequent outcomes.
Further reading: Faust, Rogers, and Wright, News and Noise in G-7 GDP Announcements; Jha, Jaffri, and Butt, Survivorship Bias in the Cross-Section of Winner Portfolios.