[GNC] Problems getting prices from Yahoo as JSON
Kalpesh Patel
kalpesh.patel at usa.net
Mon Mar 3 17:57:46 EST 2025
Hi Bruce:
Hopefully you are on your way to mending from the health issue.
Anyways, your suggestions are duly noted and will keep them in mind.
-----Original Message-----
From: Bruce Schuck <bschuck at asgard-systems.com>
Sent: Monday, March 03, 2025 4:40 PM
To: GnuCash User <gnucash-user at gnucash.org>
Cc: Kalpesh Patel <kalpesh.patel at usa.net>; Adrian Holbrook <megagrumpy at hotmail.com>
Subject: Re: [GNC] Problems getting prices from Yahoo as JSON
Sorry for late response, I've been battling some health issues the last
month+.
On Mar 1, 2025 at 09:06:36 EST, Kalpesh Patel wrote:
> If you have Unix/Linux then you can run following to get the official > interim release (literally cut and paste each line when your prompt > comes back after executing each one) as mentioned by another user > on this distro:
cd ~
wget
https://www.cpan.org/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.64_03.tar.gz
tar -xvf ./Finance-Quote-1.64_03.tar.gz
cd Finance-Quote-1.64_03/
perl Makefile.PL
make
sudo make install
Kalpesh,
While this will work for this case (no extra dependencies added), please refrain from suggesting this method of installing Finance::Quote.
Especially to those with limited experience with Perl.
There is no reason that the cpan or cpanm utilities can not be used on Windows with Strawberry Perl, Mac OSX, and especially Linux/Unix/BSD.
For those who for some reason are having difficulties with cpan/cpanm, it would be much more beneficial in the long run to troubleshoot why the standard Perl module install tool is not working.
WRT the GBP/GBp issue, I would appreciate that the issue is duplicated and confirmed BEFORE suggesting a user make manual edits! In the case of NWG.L, Finance::Quote this morning returned Last:4.803 GBP (pounds). A lookup at https://www.londonstockexchange.com/stock/NWG/natwest-group-plc/company-page
returned 480.30 GBX (pence). And finance.yahoo.com returned 480.30 GBp (pence). Perhaps asking Adrian what values he was seeing, and why he determined they were incorrect?
Thank you.
Bruce S.
More information about the gnucash-user
mailing list