error in using yahoo to connect yahaoo finance

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 Comment

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.

Sign in to comment.

Answers (1)

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: []

Products

Tags

Asked:

on 10 Aug 2015

Community Treasure Hunt

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

Start Hunting!