[GNC] Finance::Quote sometimes returns stock prices in,> pence
Bruce Schuck
bschuck at asgard-systems.com
Mon Mar 3 12:04:28 EST 2025
On Mon, 3 Mar 2025 07:20:22 +0000, Adrian Holbrook wrote:
> Thanks for that. I think that the coding should work but there is
> probably an error on the Yahoo data where they probably identify the
> currency as GBP not as GBp.
Looking up NXR.L and NWG.L at https://finance.yahoo.com/, the prices at
09:00 PST are indicated to be in GBp (NXR.L:222.00 NWG.L:480.30). F::Q
yahoojson is returning 2.22 and 4.803 respectively. So the module is
doing the correct conversion from GBp to GBP. Although, the module does
need a tweak to also convert open, high, low, and close. I'll fix this
shortly.
Bruce S.
More information about the gnucash-user
mailing list