[GNC] weird price for LU0067412154

Andrea Borgia andrea at borgia.bo.it
Thu Mar 18 04:47:10 EDT 2021


Geoff, thanks for the explanation and for confirming it is not an issue in
GC.
I'm not able to confirm the changes to the website, I haven't visited it in
a long while.

I think I'll file a bug report with the findings so far, unless you prefer
doing it yourself.

Once more, thank you.

Il giorno gio 18 mar 2021 alle ore 01:09 Geoff <cleanoutmyshed at gmail.com>
ha scritto:

> This looks like a problem with Finance Quote's MStaruk.pm module.  Did
> Morningstar change their web site recently?
>
> Testing the recent Finance Quote v1.50 release candidate, without using
> any GnuCash code, I get the same results.
>
> See attached screenshot - I think the problem lies with the long regular
> expression on line 160.  It contains a couple of "greedy" matches that
> are probably causing a match on the last decimal number (Share Class
> Size) instead of the first (NAV).
>
> Geoff
> =====
>
> On 18/03/2021 6:48 am, Andrea Borgia wrote:
> > Il 17/03/21 20:32, Derek Atkins ha scritto:
> >
> >
> >> The screenshot didn't make it through the email, most likely because you
> >> sent it as an embedded image in HTML instead of as a text with
> >> attachment.
> >
> > Yes and I never had any issues before. Weird.
> >
> > My apologies.
> >
> >>> gnc-fq-dump morningstarch LU0067412154
> >> When I run this, I get:
> >>
> >> gnc-fq-dump morningstarch LU0067412154
> >> Finance::Quote fields Gnucash uses:
> >>      symbol: LU0067412154         <=== required
> >>        date: 03/17/2021           <=== recommended
> >>    currency: USD                  <=== required
> >>        last: 2150.31              <=\
> >>         nav: 2150.31              <=== one of these
> >>       price: 2150.31              <=/
> >>    timezone:                      <=== optional
> >>
> >>
> >>> gnc-fq-dump mstaruk LU0067412154
> >> This gives me different results:
> >>
> >> gnc-fq-dump mstaruk LU0067412154
> >> Finance::Quote fields Gnucash uses:
> >>      symbol: LU0067412154         <=== required
> >>        date: 03/17/2021           <=== recommended
> >>    currency: USD                  <=== required
> >>        last: 5356.02              <=\
> >>         nav: 5356.02              <=== one of these
> >>       price: 5356.02              <=/
> >>    timezone:                      <=== optional
> >>
> >> So I would say the issue is upstream, possibly with the quote sources.
> > Hmm, the UK site of MorningStar gives a totally reasonable value.
> >
> > That's why I asked.
> >
> > Pity, the screenshot of the website is missing as well.
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list