フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem getting data from yahoo using fetch

1 回表示 (過去 30 日間)
Maria Præst
Maria Præst 2017 年 5 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Shubham Srivastava
Shubham Srivastava 2017 年 5 月 22 日
編集済み: Shubham Srivastava 2017 年 5 月 22 日
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

回答 (1 件)

Christopher Reeves
Christopher Reeves 2017 年 5 月 24 日
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)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by