Stock quote can't be updated

John Ralls jralls at ceridwen.us
Thu Apr 27 10:48:37 EDT 2017


> On Apr 26, 2017, at 7:13 PM, Chris Henderson <henders254 at gmail.com> wrote:
> 
> I'm running the latest version of gnc on the latest version of MacOS.
> 
> For the last week or so whenever I try to update stock quote, I get an
> error:
> 
> Unable to retrieve quotes for these items:
> NYSE:AMZN
> NYSE:IBM
> Continue using only the good quotes?
> 
> I tried:
> 
> cd /Applications/Gnucash.app/Contents/Resources/bin
> 
> ./gnc-fq-dump nyse -v amzn
> Finance::Quote fields Gnucash uses:
>   symbol: -v                   <=== required
>     date: ** missing **        <=== recommended
> currency: ** missing **        <=== required
>     last:                      <=\
>      nav:                      <=== one of these
>    price:                      <=/
> timezone:                      <=== optional
> 
> ** This stock quote cannot be used by GnuCash!
> 
> =====
> 
> Finance::Quote fields Gnucash uses:
>   symbol: amzn                 <=== required
>     date: 04/26/2017           <=== recommended
> currency: USD                  <=== required
>     last: 909.29               <=\
>      nav:                      <=== one of these
>    price: 909.29               <=/
> timezone:                      <=== optional
> 
> and
> 
> ./gnc-fq-dump nyse amzn
> Finance::Quote fields Gnucash uses:
>   symbol: amzn                 <=== required
>     date: 04/26/2017           <=== recommended
> currency: USD                  <=== required
>     last: 909.29               <=\
>      nav:                      <=== one of these
>    price: 909.29               <=/
> timezone:                      <=== optional
> 
> Do I need to update the stock quote perl module since I updated to gnc
> latest version:  rev 509ce16+ on 2017-03-26.?


No, Finance::Quote is installed separately. It's also working just fine. I think that you're misunderstanding the meaning of NYSE:AMZN in the error message. NYSE is the "type", an extra field for your own use to help you organize your investments in the security and price editors. It does happen also to be a quote source; it is a special one in fact that checks multiple quote sources.

Open AMZN and IBM in the security editor and check what quote source you set (the default is Yahoo USA) then try gnc-fq-dump with that quote source, e.g.

gnc-fq-dump yahoo amzn

FWIW I got good quotes for both AMZN and IBM from yahoo just now.

Regards,
John Ralls





More information about the gnucash-user mailing list