[GNC] Finance::Quote sort of works, almost

Andrea Borgia andrea at borgia.bo.it
Wed Feb 3 18:06:21 EST 2021


Hi.


Couple of weird issues getting F::Q to work on Debian "testing" with

libfinance-quote-perl                         1.49-1

gnucash                                       1:4.4-1


1) I have one fund whose quote is provided by Morningstar, LU0341736642:

gnc-fq-dump works for "morningstarch" but fails for "mstaruk":

gnc-fq-dump morningstarch LU0341736642
Finance::Quote fields Gnucash uses:
     symbol: LU0341736642         <=== required
       date: 02/02/2021           <=== recommended
   currency: EUR                  <=== required
       last: 986.36               <=\
        nav: 986.36               <=== one of these
      price: 986.36               <=/

   timezone:                      <=== optionalHowever,

gnc-fq-dump mstaruk LU0341736642
Finance::Quote fields Gnucash uses:
     symbol: LU0341736642         <=== required
       date: ** missing **        <=== recommended
   currency: ** missing **        <=== required
       last: **missing**          <=\
        nav: **missing**          <=== one of these
      price: **missing**          <=/
   timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!

However,

* morningstarch is not available as source, as confirmed by the the docs 
<https://www.gnucash.org/docs/v4/C/gnucash-help/fq-sources.html>.

* mstaruk, when run from gnucash, fails to return a quote.



2) another couple of funds come from ftfunds, IE00BMWWJZ56:EUR and 
LU0331286574:EUR

A direct query on the website works, the symbol above is copypasted, but 
gnc-fq-dump complains:

gnc-fq-dump ftfunds IE00BMWWJZ56
Finance::Quote fields Gnucash uses:
     symbol: IE00BMWWJZ56         <=== required
       date: ** missing **        <=== recommended
   currency: ** missing **        <=== required
       last: **missing**          <=\
        nav: **missing**          <=== one of these
      price: **missing**          <=/
   timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!
I'v tried tweaking the symbol adding "EUR:" before or ":EUR" after it 
but no luck.



I have 3 more funds whose prices are correctly detected, by the way.

Any clues?




More information about the gnucash-user mailing list