[GNC] Should the gnc-fq-* helper scripts be invoked as commands, or as an arg to perl?

Chris Good goodchris96 at gmail.com
Mon Jun 14 20:45:05 EDT 2021


Message: 4
Date: Sun, 13 Jun 2021 23:43:03 -0700
From: Jim DeLaHunt <list+gnucash at jdlh.com>
To: gnucash-user at gnucash.org
Subject: Re: [GNC] Should the gnc-fq-* helper scripts be invoked as
	commands, or as an arg to perl?
Message-ID: <108f1340-0815-46e8-2107-73c50dba24ac at jdlh.com>
Content-Type: text/plain; charset=utf-8; format=flowed
...
On 2021-06-13 22:42, Chris Good wrote:
...
> I'm pretty sure prefixing commands with the setting of environment
variables
> (e.g. XYZ=abc command) does not work in Windows.
Interesting. How does one do "gnc-fq-dump currency" on Windows? How does 
one provide the AlphaVantage key?
...
Best regards,
 ???? ?Jim DeLaHunt

Hi Jim,

You have to set the key in the cmd environment before invoking gnc-fq-dump.
E.g.

cd \Program Files (x86)\gnucash\bin
set ALPHAVANTAGE_API_KEY=##############
gnc-fq-dump alphavantage CSCO

Regards, Chris Good



More information about the gnucash-user mailing list