[GNC] Problem getting Finance::Quote working

Bruce Schuck bschuck at asgard-systems.com
Mon Jan 6 12:29:28 EST 2025


On 1/6/25 6:58 AM, Kalpesh Patel wrote:

> Bruce, wasn't there a chatter few releases earlier to move away from
> AV being default as the currency conversion module by F::Q? Did that
> culminate into a change?

> I have been overwrite it using 'FQ_CURRENCY=YahooJSON' so haven't
> followed it's full development as keenly as I should.
Kalpesh,

There did not seem to be much enthusiasm or interest, so at that time 
the idea died on the vine. Pretty much all the "stable" sources require 
an API key/token, as we all well know that using YahooJSON can be 
problematic when Yahoo makes changes.

Since AlphaVantage for the time being allows any string, I have been 
toying with the idea of generating a random API token in the AV currency 
module is one is not supplied. Easy add using String::Random to produce 
what looks like a regular 16 character AV token. I am going to change it 
to have the environment variable take precedence over what may have been 
passed in.

Bruce S


More information about the gnucash-user mailing list