[GNC] Finance Quotes Yahho of the rails again?

Ken Farley farleykj at gmail.com
Sat Mar 23 11:11:26 EDT 2024


You don't mention what version of Gnucash you are using, or what 
operating system. This can be important, particularly when dealing with 
the idiosyncrasies of Finance::Quote.

Regardless, I'm using MacOS, Version 4.14.

When I use the shell commands provided with this version, I get the 
following results:

[11:04]:/Applications/Gnucash.app/Contents/Resources/bin> ./gnc-fq-dump 
yahoo_json vz
Finance::Quote fields Gnucash uses:
     symbol: vz                   <=== required
       date: 03/22/2024           <=== recommended
   currency: USD                  <=== required
       last: 40.37                <=\
        nav:                      <=== one of these
      price:                      <=/
   timezone:                      <=== optional
[11:04]:/Applications/Gnucash.app/Contents/Resources/bin> ./gnc-fq-dump 
yahooweb vz
Finance::Quote fields Gnucash uses:
     symbol: vz                   <=== required
       date: 03/22/2024           <=== recommended
   currency: USD                  <=== required
       last:                      <=\
        nav:                      <=== one of these
      price:                      <=/
   timezone:                      <=== optional

So it appears that yahoo_json is providing data that can be used, but 
yahooweb is not. Why? I have no idea. If you try "googleweb" as the 
quote source, it also works fine.


More information about the gnucash-user mailing list