rinse-chess-backed

If you're having trouble getting currency quotes in GnuCash, this might help. I'm running the flatpak version GnuCash 5.12 on Linux Mint, which already includes Finance::Quote in it (if I remember correctly). Here's what I needed to do.

Sign in to currencyfreaks.com (free), and obtain an API key.

In the Security Editor in GnuCash, edit the currency that you want to get online quotes for. Check the “Get Online Quotes” checkbox. The type of quote source should be Single Currency.

Save and close GnuCash. Then open a terminal, and run:

flatpak override --user --env=FQ_CURRENCY=CurrencyFreaks --env=CURRENCYFREAKS_API_KEY=MY API KEY org.gnucash.GnuCash

You'll need to replace “MY API KEY” with the API key you obtained from CurrencyFreaks.

Test it by opening GnuCash, opening the Price Database, and clicking the Get Quotes button.

You can also test it from the command line. To get the price of gold in USD, run:

flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes dump currency USD XAG