[GNC] F::Q XAU & XAG quotes not retrieving for 2 years
Adrien Monteleone
adrien.monteleone at lusfiber.net
Thu Oct 5 16:16:22 EDT 2023
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
More information about the gnucash-user
mailing list