Gold Feb Historical Data From Yahoo Finance
6 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(3 个)
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
0 个评论
Sherif Omran
2022-3-16
use python yfinance tool instead and export data to csv then read in matlab.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!