[GNC] Finance::Quote - AlphaVantage Trade Currencies
Bruce Schuck
bschuck at asgard-systems.com
Mon Jul 17 12:35:41 EDT 2023
On 7/17/23 03:48 PDT AM, Brad Morrison wrote:
> Does it also make sense to post this situation & question to the
> other 6 GnuCash Mailman 2 mailing lists that are not in English?
> https://wiki.gnucash.org/wiki/Mailing_Lists &
> https://lists.gnucash.org/mailman/listinfo
If someone cares to translate and cross-post, be my guest. I would think
that those GnuCash users who can understand English may be subscribed to
gnucash-user in addition to the gnucash-?? list of their native language.
> 2.5 securities per minute seems really slow!
Not a limitation of the module, a limitation of the AlphaVantage API for
those using their free API key.
"We are pleased to provide free stock API service covering the majority
of our datasets for up to 5 API requests per minute and 500 requests per
day. If you would like to target a larger API call volume, please visit
premium membership."
The currency is *not* supplied in the JSON returned when fetching the
price data. So for securities such as GBP.L (GBX/GBp) or GBPG.L (GBP), a
second API call is required to determine the currency. Otherwise that
module maps '.L' to GBP which would be incorrect for GBP.L. So, for
non-US stocks, 2 API calls are needed for one security.
Thanks.
Bruce S.
More information about the gnucash-user
mailing list