[GNC] --add-price-quotes prints nothing and always fails with no info
Hong Xu
hong at topbug.net
Thu Jun 4 17:06:41 EDT 2020
Hi!
I tried to play with automatic stock price retrieval, but it always failed (although gnc-fq-dump works well).
When I run "gnucash --debug --add-price-quotes /path/to/my/gnucash/file", I got the following output:
Found Finance::Quote version 1.49.
Then "echo $?" prints "1".
gnc-fq-dump works well:
$ gnc-fq-dump yahoo_json AMZN
Finance::Quote fields Gnucash uses:
symbol: AMZN <=== required
date: 06/04/2020 <=== recommended
currency: USD <=== required
last: 2460.6 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
Is there any way to get more debug information? My system is Debian 10, and "gnucash -v" outputs:
GnuCash 3.10
Build ID: 3.10+(2020-04-11)
Thanks!
Hong
More information about the gnucash-user
mailing list