I am using the yahoo finance API to get the price quotes from the market that has closed. I usually run the API at about 11pm at night (USA time). The API will return today's market data some times and yesterdays market data sometimes. It seems to be random and if you run it a few times in a row you can see it randomly switching between these dates. How can I get it to consistently return the latest quotes and not yesterday's quotes?
© 2022 - 2024 — McMap. All rights reserved.
regularMarketTime
field helps. – Jeraldjeraldine