Your /etc/gnucash/environment file does not affect your shell which is why
gnc-fq-dump isn't working for alphavantage.
-derek
Sent using my mobile device. Please excuse any typos.
On November 12, 2017 10:20:10 AM "Brian M. Sutin" <gnuca...@skewray.com> wrote:
I am unable to get gnc-fq-dump to work on almost everything. I am running
v1.45 on Ubuntu. I did get a hit off of TIAA-CREF, so it works in general.
$ gnc-fq-dump -v vanguard VTSAX
No results found for stock VTSAX.
$ gnc-fq-dump -v nasdaq ibm
No results found for stock ibm.
$ gnc-fq-dump -v nyse ATGE
No results found for stock ATGE.
$ gnc-fq-dump -v alphavantage ibm
Finance::Quote fields Gnucash uses:
symbol: ibm (deduced) <=== required
date: ** missing ** <=== recommended
currency: ** missing ** <=== required
last: <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
** This stock quote cannot be used by GnuCash!
All fields returned by Finance::Quote for stock ibm
stock field value
----- ----- -----
ibm errormsg: Expected ALPHAVANTAGE_API_KEY to be set; get an API
key at https://www.alphavantage.co
ibm last: **missing**
ibm nav: **missing**
ibm price: **missing**
ibm success: 0
I *did* add the alphavantage key to /etc/gnucash/environment:
#<...snip...>
# LANG=nl_BE
# LANGUAGE={LANG}
# added for quote retrieval
ALPHAVANTAGE_API_KEY=O**************G
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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.