> On Mar 9, 2021, at 1:08 PM, Rainer Dorsch <[email protected]> wrote:
>
> Hi John,
>
> it seems currency retrieval does not work with finance-quote 1.50rc1 in
> gnucash. currency-lookup.pl works though. I understand it is using
> alphavantage.
>
> Can you have a quick look at https://github.com/finance-quote/finance-quote/
> issues/173 ?
>
> Is that because of lack of support for the alphavantage key? For stocks this
> seem to work though
>
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ echo '(alphavantage
> "MSFT")' | gnc-fq-helper
> (("MSFT" (symbol . "MSFT") (gnc:time-no-zone . "2021-03-08 12:00:00") (last .
> #e227.3900) (currency . "USD")))
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$ gnc-fq-dump
> alphavantage
> MSFT
> Finance::Quote fields Gnucash uses:
> symbol: MSFT <=== required
> date: 03/08/2021 <=== recommended
> currency: USD <=== required
> last: 227.3900 <=\
> nav: <=== one of these
> price: <=/
> timezone: <=== optional
> rd@h370:/usr/share/doc/libfinance-quote-perl/examples$
Ranier,
You need to set ALPHAVANTAGE_API_KEY in the shell in order to use gnc-fq-dump
or gnc-fq-helper. To use it in GnuCash you set it in Preferences>Online Quotes.
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.