Commodity prices from Yahoo finance

5 次查看(过去 30 天)
Lucas
Lucas 2016-12-6
评论: Robin 2017-5-4
Hi all,
I am trying to import the spot price of gold and silver. I have the datafeed tool but I don't seem to be able to get it to report the values. I can import share prices, and currency exchange rates, without problem. To the best of my knowledge the gold spot price would be 'XAUUSD=X' for gold in USD and XAGUSD=X for silver in USD. I then select bid, ask, open, close or any other value and 'NaN' is returned.
Am I missing something obvious here? I'm hoping that it is something simple.
Any help would be much appreciated.
Thanks in advance,
Lucas
  1 个评论
Robin
Robin 2017-5-4
could you solve it? I'm facing the same problem at the moment, I could import the data from other sites however I need to get it from yahoo

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Financial Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by