-1

我需要通过使用来获得 Apple 安全性的 Adj Close 值

str = urlread('http://chart.finance.yahoo.com/table.csv?s=AAPL&a=2&b=18&c=2017&d=3&e=18&f=2017&g=d&ignore=.csv');

but i always get empty char array as result. This url works when i use it in web browser and all other webs i have tried with urlread worked perfectly. Somehow only getting CSVs from yahoo finance never works for me. I have tried urlwrite too, but it didn't work.

谢谢

4

1 回答 1

1

如果你把它改成 https 就可以了

str = urlread('https://chart.finance.yahoo.com/table.csv?s=AAPL&a=2&b=18&c=2017&d=3&e=18&f=2017&g=d&ignore=.csv');
于 2017-04-18T06:01:44.813 回答