cgoldberg / ystockquote

Fetch stock quote data from Yahoo Finance
534 stars 181 forks source link

get_historical_prices not working--bad url? #43

Open dlrubin opened 8 years ago

dlrubin commented 8 years ago

when calling get_historical_prices I get a 404 not found error. The URL this function calls to get historical stock prices seems to no longer be valid. Is there a new URL to use? Thanks

cgoldberg commented 8 years ago

thanks for reporting this. it looks like Yahoo changed some of their finance API's recently. I will investigate and hopefully can adapt it to the new stuff.

dlrubin commented 8 years ago

Great, thanks, and I'd greatly appreciate if you could let me know when you have a fix.. hopefully it should be a simple fix

  From: Corey Goldberg <notifications@github.com>

To: cgoldberg/ystockquote ystockquote@noreply.github.com Cc: Daniel Rubin dlrubin@yahoo.com; Author author@noreply.github.com Sent: Wednesday, July 13, 2016 11:27 AM Subject: Re: [cgoldberg/ystockquote] get_historical_prices not working--bad url? (#43)

thanks for reporting this. it looks like Yahoo changed some of their finance API's recently. I will investigate and hopefully can adapt it to the new stuff.— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alex-ruehe commented 8 years ago

Any news on this? I just stumbled upon this and I don't get exactly what might be wrong, since ystockquote.get_historical_prices('APC.DE', '2016-10-19', '2016-10-24') works, while ystockquote.get_historical_prices('CCC3.DE', '2016-10-19', '2016-10-24') gives me an 404 not found.

Is this a Yahoo problem? If I use some dates from the beginning of 2016 it works fine in both cases.

amalek215 commented 7 years ago

get_historical_prices was working for me until about 3 days ago Looks like the url has changed.

dejafait commented 7 years ago

see https://github.com/cgoldberg/ystockquote/issues/47 for a full explanation of why the service is currently down