From Dev.to
Look-ahead bias: the backtest bug that uses tomorrow's newspaper
Imagine testing a strategy for January 2024 using the unemployment rate for January 2024. Sounds fine, until you remember that number was published in early February. Your backtest just read tomorrow'...