Gold Feb Historical Data From Yahoo Finance

5 visualizzazioni (ultimi 30 giorni)
Jessica Lam
Jessica Lam il 31 Gen 2012
Risposto: Sherif Omran il 16 Mar 2022
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

Risposte (3)

Kawee Numpacharoen
Kawee Numpacharoen il 4 Ago 2017
Datafeed Toolbox no longer supports Yahoo! Finance API.

Stuart Kozola
Stuart Kozola il 4 Ago 2017
Yahoo no longer supports this api. See this answer for more information.

Sherif Omran
Sherif Omran il 16 Mar 2022
use python yfinance tool instead and export data to csv then read in matlab.


Community Treasure Hunt

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

Start Hunting!

Translated by