Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem getting data from yahoo using fetch

1 Ansicht (letzte 30 Tage)
Maria Præst
Maria Præst am 19 Mai 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
When i run the following line: DataSet = fetch(c,'SPY','1900-01-04', '2099-11-13');
I get the error message: Error using yahoo/fetch (line 387) Unable to return historical data for given security.
It use to work but not any more, so what can i do to getting things to work again?
  1 Kommentar
Shubham Srivastava
Shubham Srivastava am 22 Mai 2017
Bearbeitet: Shubham Srivastava am 22 Mai 2017
It seems that the Yahoo Finance API feature has been discontinued by Yahoo and they won't be reintroducing it again.
More information on the same can be gathered from Yahoo Help Community.
Regards,
Shubham

Antworten (1)

Christopher Reeves
Christopher Reeves am 24 Mai 2017
Seems that yahoo finance has changed its API You can use this code to get the OHLC daily bar data from google finance instead
Cheers!
-Chris Reeves (Bayes Quant)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by