MATLAB Answers

0

Getting Gold Feb (GCG12.CMX) Historical Data From Yahoo.

Asked by Jessica Lam on 6 Feb 2012
Latest activity Answered by Stuart Kozola on 4 Aug 2017
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 Comments

Sign in to comment.

Tags

Products

2 Answers

Answer by Kawee Numpacharoen on 4 Aug 2017

Datafeed Toolbox no longer supports Yahoo! Finance API.

  0 Comments

Sign in to comment.


Answer by Stuart Kozola on 4 Aug 2017

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 Comments

Sign in to comment.