Commodity prices from Yahoo finance

4 visualizzazioni (ultimi 30 giorni)
Lucas
Lucas il 6 Dic 2016
Commentato: Robin il 4 Mag 2017
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 Commento
Robin
Robin il 4 Mag 2017
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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Financial Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by