[GNC] Error Retrieving Gold Price for Price Database

Kalpesh Patel kalpesh.patel at usa.net
Thu Mar 7 11:44:15 EST 2024


I don't believe GNC by default contains Gold in the currency namespace. It
is likely added.

For Yahoo purposes thus yahoo_json, XAU or Philadelphia Gold and Silver
Index is an index at Nasdaq so query would require caret ('^') prefix so the
symbol is '^XAU' (without quotes).

For Gold spot prices, the 'GC=F' symbol pulls from yahoo_json...


-----Original Message-----
From: Damon Hudac <dhud at toadmeadow.com> 
Sent: Wednesday, March 06, 2024 5:36 PM
To: gnucash-user at gnucash.org
Subject: [GNC] Error Retrieving Gold Price for Price Database

I installed GnuCash from flathub. I'm running GnuCash v5.5. 
Finance::Quote is v1.58.

In the security editor, in the "currencies" namespace, gold is listed under
symbol XAU.

I have the box checked for "Get Online Quotes."
"Type of quote source" is Single --> Currency

Whenever I click "Get Quotes" in the price database, the price for gold
fails with this error:

"Quotes for the following commodities were unavailable or unusable:
* CURRENCY:XAU Finance::Quote reported failure set no error."

I have quotes for Canadian dollars set up identically and those work fine
when I update the quotes. Does anyone know how to configure this to retrieve
gold prices?

If it helps, I do have an Alphavantage API key and use that all the time to
update stock prices.

Thank you!




More information about the gnucash-user mailing list