Downloading yahoo stock data using hist_stock_data
Show older comments
Hello,
I'm using hist_stock_data to download historical data from yahoo.
For most of the stocks it work fine, but for some stock (about 10-15% of the stock, e.g. ALGN), the command line:
[temp, status] = urlread(url,'post',{'matlabstockdata@yahoo.com', 'historical stocks'},'Timeout',10);
returns:
temp =
0×0 empty char array
But if I check at yahoo website the historical data is fine.
Does anyone familiar with this problem?
Thank you,
Maor
3 Comments
Rik
on 7 May 2020
Is it a simple timeout or does this only occur with a specific syntax. Can you provide a code snippet that will cause this issue?
maor yehoshua
on 7 May 2020
Edited: Rik
on 7 May 2020
Mario Trevino
on 17 Jul 2020
I just posted the same question....
something is wrong when reading the url string.. but it works fine when copy-pasting it in a browser... right?
Did you find the solution?
Answers (0)
Categories
Find more on Web Services in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!