简体   繁体   中英

Yahoo Finance API historical quote

I am using PHP and JavaScript to pull data from the yahoo finance API. For some reason the below yahoo finance API url is not pulling any financial data for yesterdays date and resulting in a 404 error. I have checked the API docs to verify the url is correct and it is. It is working for other dates, although not for the date that I need. I am simply trying to get the financial data for 2/16/15. Anyone have any idea why it is failing?

http://ichart.yahoo.com/table.csv?s=ZNGA&a=1&b=16&c=2015&d=1&e=16&f=2015

Thanks in advance

No data! It's President's Day in the US on the 3rd Mon of Feb!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM