> On Nov 12, 2017, at 3:54 PM, Erik Colson <[email protected]> wrote:
> 
> 
> listreader <[email protected]> writes:
> 
>> I had to find the source of currency-lookup.pl via google but did and
>> "perl -Ilib currency-lookup.pl XAG USD" works: "XAG->USD = 16.87475774"
>> (price varying from yours because the market is now open for the day)
>> but "gnc-fq-dump alphavantage XAG" still gives me "0.0200".  Should I
>> NOT be using alphavantage for the currency quotes in gc?
> 
> I have no idea.  I don't know how gnucash actually gets the quote for
> currencies from F::Q.  It might i.e. use another method...  Maybe a
> developper from GnuCash can help here?

Erik,

We use the Finance::Quote currency method, see
https://github.com/Gnucash/gnucash/blob/maint/src/quotes/gnc-fq-helper.in#L346 
and https://github.com/Gnucash/gnucash/blob/maint/src/quotes/gnc-fq-dump#L165.

When using the scripts directly one must use source currency, e.g.

gnc-fq-dump currency USD GBP

Regards,
John Ralls

_______________________________________________
gnucash-user mailing list
[email protected]
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.

Reply via email to