The Traderszone Network

Published in TZ Latest News 18 April, 2017 by The TZ Newswire Staff

Has yahoo stopped their history data api service?

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…

read more