error in using yahoo to connect yahaoo finance

1 view (last 30 days)
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
Brendan Hamm
Brendan Hamm on 10 Aug 2015
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)

Kawee Numpacharoen
Kawee Numpacharoen on 2 Nov 2016
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: []

Tags

Products

Community Treasure Hunt

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

Start Hunting!