How can I succesfully connect to Yahoo Finance?
    4 次查看(过去 30 天)
  
       显示 更早的评论
    
There seems to be a problem with connecting to Yahoo Finance that started a few days ago: Code:
" c = yahoo;
sec = 'IBM';
field = 'Close'; % retrieve closing price data
fromdate = '01/01/2012'; % beginning of date range for historical data
todate = '06/30/2012'; % ending of date range for historical data
d = fetch(c,sec,field,fromdate,todate);
print(d)
close(c)
"
The error code: "Error using yahoo Unable to connect or retrieve data from given URL."
Thanks in advance!
0 个评论
采纳的回答
  Vipresh Gangwal
    
 2017-4-26
        The following webpage may contain a workaround for this issue and instructions on how to apply the fix.
https://www.mathworks.com/support/bugreports/1571158
2 个评论
  Jeff Wong
 2019-5-5
				Not sure why you said works perfectly when Yahoo no longer provides data any more.
更多回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


