turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
|
I used to download yahoo history data everyday with my program until this week. My code is as follows,
URL queryStockUrl = new URL(stockQueryURL);
HttpURLConnection connection = (HttpURLConnection) queryStockUrl
.openConnection();
connection.connect();
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream(),"utf-8"));
Now the reader can get nothing, no error, no exception thrown. If I enter the same stockQueryURL as above into chrome, I can download the history data file in chrome, but my program can't.
I guess yahoo has stopped the api service, if server finds your history data request is not from a web browser, it will offer you nothing. Is it true?
Solved! Go to Solution.
I've just figured out the problem 5 minutes ago. When I download the problematic link with wget, wget shows the redirect to the new link. The URLs have changed, your Chrome browser is following the re-direct, your app is not.
For me, my url has changed as follows:
http://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv <--From
https://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv <--To
Here's another example:
http://finance.yahoo.com/d/quotes.csv?s=AAPL&f=a <--From
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL <--To
Good luck!
I have the same problem...please help us!!!!
Something is happening, and people are reporting this issue in the MATLAB forum as me. Yahoo has changed something from last monday 17 April that not allow to get the historical data as before.
*URL Removed - See the community guidelines for more information.*
I've just figured out the problem 5 minutes ago. When I download the problematic link with wget, wget shows the redirect to the new link. The URLs have changed, your Chrome browser is following the re-direct, your app is not.
For me, my url has changed as follows:
http://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv <--From
https://ichart.finance.yahoo.com/x?s=NCM.AX&g=v&a=0&b=13&c=2017&ignore=.csv <--To
Here's another example:
http://finance.yahoo.com/d/quotes.csv?s=AAPL&f=a <--From
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL <--To
Good luck!
It is not working anymore as of 05/16/2017. The new downloading page seems to be pointing to
*Link Removed - See the community guidelines for more information.*
This requires cookie and the link can not work outside yahoo finance page.
Hi All - unsupported API's have been discontinued for Yahoo Finance and is not something that we will be bringing back.
The Yahoo Finance Feedback Forum is the place where you can make product suggestions and provide feedback. We’re always trying to improve our products and use your feedback to inform changes. Here’s the url: https://yahoo.uservoice.com/forums/382977
Very upsetting news. I assume a consequence of the merger.
This is how a company evolve from bad to worst to finally crash and dissapear........from having products that everybody loves, that with time are changed or eliminate for one that nobody wants. Eliminating ichart is like eliminating google maps and give instead a pictured of what I have in front of the car....completely useles. WITHOUT HISTORICAL DATA IS IMPOSSIBLE TO DO FINANCE.
The financial site and API's were the only remaining areas where Yahoo was better than all others. Thank you, Yahoo for having provided this!. Instead of taking care of this asset they switched off the data API's without notice, and even posted a misleading page which says that they are fixing it. I hope Yahoo will think it over, otherwise it's time to say goodby, Yahoo. We will keep you in good memory, though, as a sympathetic competitor of the big brother.
.."Hi All - unsupported API's have been discontinued for Yahoo Finance and is not something that we will be bringing back. "...
Well what is a SUPPORTED API then ???
Where is the info???