Backtest lesson: look-ahead bias 🔎
It's when your test uses information that wasn't available at the moment of the trade. Classic examples:
• Signal on the daily close, entry at that same day's open
• Indicators recalculated with future data
• Coin lists picked by today's rankings
The fix is boring but essential: generate the signal on one bar, execute on the next. If results collapse after that change, they were never real.
