Three dates for every number
A number has the date it describes, the date it was published, and the date it reached your system. A quarter ends in March, the company reports in May, the vendor loads it the next morning.
A backtest may only trade after the last of the three. Using any earlier date is look-ahead.