[GNC] weird price for LU0067412154
Derek Atkins
derek at ihtfp.com
Wed Mar 17 15:12:31 EDT 2021
What quote source are you using? This doesn't work for me with Yahoo-JSON:
gnc-fq-dump yahoo_json LU0067412154
Use of uninitialized value $json_name in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 132.
Use of uninitialized value $info{"LU0067412154\34currency"} in string eq
at /usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 145.
Use of uninitialized value $info{"LU0067412154\34currency"} in string eq
at /usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 145.
Use of uninitialized value $info{"LU0067412154\34currency"} in string eq
at /usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 156.
Use of uninitialized value in sprintf at
/usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 178.
Use of uninitialized value in sprintf at
/usr/share/perl5/vendor_perl/Finance/Quote/YahooJSON.pm line 178.
Finance::Quote fields Gnucash uses:
symbol: LU0067412154 <=== required
date: 03/17/2021 <=== recommended
currency: ** missing ** <=== required
last: **missing** <=\
nav: **missing** <=== one of these
price: **missing** <=/
timezone: <=== optional
** This stock quote cannot be used by GnuCash!
-derek
On Wed, March 17, 2021 3:07 pm, Andrea Borgia wrote:
> Hi.
>
> Something odd is going on but I can't decide if it is F::Q at fault or GC:
>
> Thing is, the UK website lists a totally reasonable price, so it's
> either gnc-fq-dump or F::Q who is playing fast and loose with numbers :)
>
>
> The price editor is affected as well, actually that's how I found out.
> For the moment I simply switched source but I'm puzzled.
>
> Any pointers?
>
>
> Thanks,
>
> Andrea.
>
>
> _______________________________________________
> 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.
>
--
Derek Atkins 617-623-3745
derek at ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
More information about the gnucash-user
mailing list