Gold Feb Historical Data From Yahoo Finance

조회 수: 3 (최근 30일)
Jessica Lam
Jessica Lam 2012년 1월 31일
답변: Sherif Omran 2022년 3월 16일
Hi I am trying to get Gold Feb (GCG12.CMX) Historical Data From Yahoo Finance via DataFeeb toolbox.
The following is my code. conn = yahoo; b = fetch(conn,{'GCG12.CMX'},{'Close'},'2012-01-01','2012-01-30','d'); But I got the following warning message. ??? Error using ==> yahoo.fetch at 366 Unable to return historical data for given security.
Is there any commends which can fetch Gold Feb Historical Data?
Thanks so much Jessica

답변 (3개)

Kawee Numpacharoen
Kawee Numpacharoen 2017년 8월 4일
Datafeed Toolbox no longer supports Yahoo! Finance API.

Stuart Kozola
Stuart Kozola 2017년 8월 4일
Yahoo no longer supports this api. See this answer for more information.
https://www.mathworks.com/matlabcentral/answers/335870-fetching-data-from-yahoo#answer_265368

Sherif Omran
Sherif Omran 2022년 3월 16일
use python yfinance tool instead and export data to csv then read in matlab.

카테고리

Help CenterFile Exchange에서 Money.Net에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by