[GNC] Unable to download more than 5 currency exchange rates

Chris Good goodchris96 at gmail.com
Mon Apr 27 22:08:15 EDT 2020


Hi Davy,

The problem with doing too many currency lookups in a short time should be
fixed in 
Finance::Quote 1.50 but I don't think there is any schedule for when that
will be.

The last part of the fix was committed on Mar 22, see
https://github.com/finance-quote/finance-quote/commits/master

Regards, Chris Good

Message: 7
Date: Mon, 27 Apr 2020 12:56:09 +0800
From: Davy Roid <davyroid at gmail.com>
To: gnucash-user at gnucash.org
Subject: Re: [GNC] Unable to download more than 5 currency exchange
	rates
Message-ID:
	<CAMyLKkHEkExeDQnmDcjb=bARvoY6YnOaxQHzoioB+QaJ-8xbwQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I learnt this from AlphaVantage.pm and it may not be the best solution.
Adding a sleep(13) statement right before the" my $reply = $us->request"
(at around line 262) in the Quote.pm will solve the problem.




On Sun, Apr 26, 2020, 16:38 davygc <davyroid at gmail.com> wrote:

> Again, I am new to GC. I am trying to setup the chart of account and is
> facing a problem - unable to download more than 5 currencies exchange
rate.
> I did some experiments. I was unable to download the exchange rate after I
> removed the Alpha Vantage API key. Therefore, I guess the exchange rate is
> handled by Alpha Vantage. But on the other hand, I was able to download 5
> currencies + 2 stock price through Alphavantage. When I disabled some of
> the
> currencies, then I will be able to download the rest (still up to a total
> of
> 5).
>
> It seems that the quote for exchange rate is not handled by
Alphavantage.pm
> and the cause of the problem is the limitation of 5 quote per minute.
>
> Any suggestion?
> Also, which script is responsible for downloading the exchange quote?
>
> Thanks.
>
>
>
>
>
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html



More information about the gnucash-user mailing list