I was having issues finding target stocks using a different algorithm, so I wanted to ensure the historical data aligned with the prices I expected. Still, there seems to be a mismatch between the data in back testing and actual historical reporting. 

Here we checked a few stocks and then looked up what the prices were on those specific days and they don't match. What could be causing this? Is the historical data available for backtesting inaccurate?

Yahoo says FRGT opened May 2nd, 2025 at $12.52, but this script returned $4.68.

(look in the logs to see what prices are being returned for the historic data)