Datafeed Toolbox does not work with Yahoo

1 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2017-8-7
For more information, please see the following bug report:
https://www.mathworks.com/support/bugreports/1571158
  3 个评论
Octavio Garcia
Octavio Garcia 2017-5-18

I forget this as well

https://forums.yahoo.net/t5/Yahoo-Finance-help/Is-Yahoo-Finance-API-broken/m-p/251115#U251115

Paul Shoemaker
Paul Shoemaker 2017-5-21
编辑:Paul Shoemaker 2017-5-21
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.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by