Thanks Ken, I was able to add those two in a 'Precious Metals'
namespace, that indeed works.
But now how to integrate that with my existing XAU/XAG denominated accounts?
I'm guessing I'll have to make new ones with those symbols for
commodity, then delete the old accounts and let GnuCash move the
transactions, but I can only imagine that could be a mess with the
trading splits.
Regards,
Adrien
On 10/4/23 3:27 PM, Ken Farley wrote:
Yahoo seems to use "GC=F" as the symbol for Gold. I am able to get the
price of gold as shown in the following output from gnc-fq-dump
--> gnc-fq-dump yahoo_json GC=F
Finance::Quote fields Gnucash uses:
symbol: GC=F <=== required
date: 10/04/2023 <=== recommended
currency: USD <=== required
last: 1837.3 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
In a similar fashion, silver is apparently "SI=F".
--> gnc-fq-dump yahoo_json SI=F
Finance::Quote fields Gnucash uses:
symbol: SI=F <=== required
date: 10/04/2023 <=== recommended
currency: USD <=== required
last: 21.19 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.