Datafeed Toolbox does not work with Yahoo
3 views (last 30 days)
Show older comments
I am trying to connect to Yahoo Finance with the Datafeed Toolbox, but I obtain the following error:
>> c = yahoo
Error:
Error using yahoo
Unable to connect or retrieve data from given URL.
>> fetch(yConnect,’AAPL’) % generates an error
>> fetch(yahoo,'%5EGSPC',{'Last'}) % either returns empty or generates an error
Error using urlreadwrite (line 98)
Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
Error in urlread (line 36)
[s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:});
Error in yahoo/fetch>wwwread (line 407)
retdat = urlread(fetchurl);
Error in yahoo/fetch (line 222)
tmpdat = wwwread(fetchurl,numinputs);
>> fetch(yahoo,'%5EGSPC',{'close'}, today - 30,today-1)
Error using yahoo/fetch (line 387)
Unable to return historical data for given security.
Accepted Answer
MathWorks Support Team
on 7 Aug 2017
Edited: MathWorks Support Team
on 7 Aug 2017
For more information, please see the following bug report:
https://www.mathworks.com/support/bugreports/1571158
15 Comments
Octavio Garcia
on 23 May 2017
I hope your fix work and can be shared to the community in the File Exchange. Not historical but is something
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!