Day 134 — Eleven ways the future gets into a backtest

Friday, 18 December 2026 · Week 20 of 52 · The research harness · Study day · 60 min

Your list from last night is the start of the taxonomy this week completes, and the value of a taxonomy is that it turns a vague worry into a checklist you can test against.

What you should be able to do tonight

  • Name at least eight distinct look-ahead mechanisms and, for each, the test that would catch it.
  • Say which two of them your existing pairs backtest is guilty of.

Tasks 60 min

35 min Build the taxonomy properly, expanding your list into categories: signal timing, universe construction, data revision, corporate action timing, index membership, delisting returns, parameter selection, benchmark selection, currency conversion timing, and the two that come from your own code rather than the data. Write each with a one-line detection test.

25 min Audit your own pairs backtest against all of them. Be specific about where in the code the violation happens rather than noting the category. At least two will apply and one of them will be the formation window boundary.

Resources

Deliverable

The look-ahead taxonomy in reports/milestone-05-platform.md, with a detection test per entry and your own backtest audited against it.

Checkpoint

Name five distinct ways look-ahead gets into a backtest and the test that catches each.

Prepare for tomorrow

Ten minutes tonight so Day 135, Saturday, 19 December 2026 starts clean. This is what the evening email sends you.

For three data sources you use, find and write down the time of day the data becomes available. For yfinance daily bars, note that you cannot.

Write down the lag you currently apply between a signal being computed and a position being held.

Note whether that lag is in the code or in your head.