Azzera filtri
Azzera filtri

error in using yahoo to connect yahaoo finance

2 visualizzazioni (ultimi 30 giorni)
yan bing
yan bing il 10 Ago 2015
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 Commento
Brendan Hamm
Brendan Hamm il 10 Ago 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.

Accedi per commentare.

Risposte (1)

Kawee Numpacharoen
Kawee Numpacharoen il 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: []

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by