URLREAD not returning all data for YAHOO page?

3 次查看(过去 30 天)
I am trying to download the static webpage in Matlab using urlread and 9/10 times, the YAHOO page for the S&P 500 is not returned properly in Matlab?
s = urlread('https://finance.yahoo.com/quote/%5EGSPC/history?ltr=1');
For example, search for:
Aug 09, 2018
When I view the webpage in Google Chrome view source, it shows Aug 09, 2018 and the proper data, whereas the Matlab return jumps from Aug 10 to April 24?
What's weird is every blue moon, Matlab will return the complete webpage? I can't figure out what's happening? I've tried webread, increasing the timeout and still no luck? Why isn't Matlab returning the complete webpage?
Any ideas, Daulton

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by