[GNC] Problems getting prices from Yahoo as JSON

Bruce Schuck bschuck at asgard-systems.com
Mon Mar 3 16:39:43 EST 2025


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