error in using yahoo to connect yahaoo finance
2 次查看(过去 30 天)
显示 更早的评论
Hi, Friends, I use yahoo finance everyday to download finance data. However, since today, it has below error. Any one has idea what is happening from yahoo side? Any alternative yahoo server address to resolve the issue?
>> conn = yahoo('http://download.finance.yahoo.com'); ??? Error using ==> yahoo at 56 Unable to connect to given URL.
1 个评论
Brendan Hamm
2015-8-10
I could not reproduce this error. Have you had any recent updates on the computer? Are there Firewall restrictions?
Also, it is not necessary to provide the URL, as this is the default URL anyhow:
conn = yahoo; %sufficient
I would only use the URL if I needed to specify the port.
回答(1 个)
Kawee Numpacharoen
2016-11-2
Same as the above comment. "conn = yahoo" is sufficient
>> conn = yahoo('http://download.finance.yahoo.com')
conn =
yahoo with properties:
url: 'http://download.finance.yahoo.com'
ip: []
port: []
>> conn2 = yahoo
conn2 =
yahoo with properties:
url: 'http://download.finance.yahoo.com'
ip: []
port: []
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Money.Net 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!