Datafeed Toolbox does not work with Yahoo
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 25 Apr 2017
Edited: MathWorks Support Team
on 7 Aug 2017
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
3 Comments
Octavio Garcia
on 18 May 2017
I forget this as well
https://forums.yahoo.net/t5/Yahoo-Finance-help/Is-Yahoo-Finance-API-broken/m-p/251115#U251115
Paul Shoemaker
on 21 May 2017
Edited: Paul Shoemaker
on 21 May 2017
For those who have active accounts with TD Ameritrade / Thinkorswim, I have a solution to this problem. This involves use of a Matlab toolbox I developed so it can be considered a solicitation. Therefore, if you want to know more then just send me an email and we can discuss through other channels.
More Answers (0)
See Also
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!