How can I succesfully connect to Yahoo Finance?

5 visualizaciones (últimos 30 días)
Sven Opgenorth
Sven Opgenorth el 24 de Abr. de 2017
Comentada: Jeff Wong el 5 de Mayo de 2019
There seems to be a problem with connecting to Yahoo Finance that started a few days ago: Code:
" c = yahoo;
sec = 'IBM';
field = 'Close'; % retrieve closing price data
fromdate = '01/01/2012'; % beginning of date range for historical data
todate = '06/30/2012'; % ending of date range for historical data
d = fetch(c,sec,field,fromdate,todate);
print(d)
close(c)
"
The error code: "Error using yahoo Unable to connect or retrieve data from given URL."
Thanks in advance!

Respuesta aceptada

Vipresh Gangwal
Vipresh Gangwal el 26 de Abr. de 2017
The following webpage may contain a workaround for this issue and instructions on how to apply the fix.
https://www.mathworks.com/support/bugreports/1571158
  2 comentarios
Sven Opgenorth
Sven Opgenorth el 4 de Mayo de 2017
THX, works perfectly!
Jeff Wong
Jeff Wong el 5 de Mayo de 2019
Not sure why you said works perfectly when Yahoo no longer provides data any more.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Money.Net en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by