[GNC] Finance::Quote - AlphaVantage Failing
Bruce Schuck
bschuck at asgard-systems.com
Mon Nov 4 17:58:57 EST 2024
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
More information about the gnucash-user
mailing list