필터 지우기
필터 지우기

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