Forum Discussion

Zio81's avatar
Zio81
Copper Contributor
Aug 19, 2021

Get spot prices for Gold and Silver using Stock converter

Hello,

 

I am getting prices nicely for any currency using the quotation EUR/USD, Now if I do the same for XAU/USD or XAG/USD it doesnt work. I found out that i can input Gold or Silver but even then it chooses a stock instead of the spot price. TO get to that price i need to manually search in the data selector @SI0Y or @PL0Y. I need to be doing this via vba automoatically each day however. Can you help me out on how to get the spot prices for gold and silver directly and not doing manual searches?

 

thx

 

1 Reply

  • jwood36's avatar
    jwood36
    Copper Contributor

    You may have already figured this out but these are the symbols that I use within Excel using the Stock DataType:

    • @SI0Y - Silver
    • @PL0Y - Platinum
    • @GC0Y - Gold

    Each one ends with Zero (0) Y

Resources