On Mon Nov 4 16:55:54 EST 2024, Bruce S writes:

This is a known issue and it looks to be an AlphaVantage issue. The example in their API documentation also returns an empty JSON
object.
Bad news, the AlphaVantage Exchange Rate API is also failing.

Their example:

https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=JPY&apikey=demo

Returns and empty JSON object "{}".

This is *not* a Finance::Quote issue, it is a problem with AV's API.

You can change the default F::Q currency module by setting and exporting the FQ_CURRENCY environment variable. Available alternates in F::Q v1.63 are:

Require API Key:

CurrencyFreaks
OpenExchange
Fixer

No API Key:

YahooJSON

If you install BPSCHUCK/Finance-Quote-1.63_06.tar.gz

FinanceAPI - requires an API Key

FQ_CURRENCY=FinanceAPI gnucash-cli --quotes get ${HOME}/gnucash-filename

_______________________________________________
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.

Reply via email to