yFinance returning different quotes at the same time? Alpaca's quote is off in the weeds.
I'm a newbie and have been running some tests to try to figure out a strategy. As an experiment, I've got 2 completely separate python programs that are running side-by-side (via task scheduler) to compare against. Every time I'm writing any sort of price to my logs (as shown below), it's calling yFinance for a fresh new quote. I would expect both programs to pull the same data (minus the difference of a couple seconds or so). However, you can clearly see they are not updating at the same rate. Sometimes the left one will pull the new price several seconds before the right one and sometimes vice-versa. Any thoughts what's up with this?
Also, Alpaca is off smoking a joint or something. It's settled on the "Open" price of the minute that the halt was initiated rather than the "Closing" price like Yahoo seems to do. Thoughts on that as well? I'm really just looking for the last filled stock price.
Logs from each program showing quote discrepancies from the same API calls
Posted Oct 6, 2025, 3:33 PM UTC