[GNC] F::Q XAU & XAG quotes not retrieving for 2 years

Ken Farley farleykj at gmail.com
Thu Oct 12 21:55:11 EDT 2023


My guess would be that it's because they were created as a "currency" 
and can't be changed? I don't use any currencies as investments, so I 
don't have any experience with this kind of thing.

If there is a way you can specify the source of the quotes (i.e. not 
Alphavantage), you could take the unusual route of making your own Perl 
module that when asked for "XAG" or "XUA", uses one of the other sources 
like yahoo_json to get the quote using their symbols and spits back a 
quote using the symbol you need. I did something like this years ago 
when my employer insisted on giving us shares in a weird Employee Stock 
Ownership Plan, whose shares were equivalent to a strange fraction of 
the company's stock price. I'd get the stock quote, multiply it by the 
fraction, and off I went.

Not an elegant solution, but it will work.


More information about the gnucash-user mailing list