[GNC] Quotes issue

Steve zephod at cfl.rr.com
Mon May 30 10:45:02 EDT 2022


On Sat, 28 May 2022 17:26:47 -0700
John Ralls <jralls at ceridwen.us> wrote:

> You're missing that the environment in your shell isn't necessarily
> the one that GnuCash sees unless you launch GnuCash from that shell.
> Enter your API key in Preferences>Online Quotes to cover that case.
> 
> Regards,
> John Ralls
> 

That was it!
Thanks,
Steve

> 
> > On May 28, 2022, at 4:42 PM, Steve <zephod at cfl.rr.com> wrote:
> > 
> > When I do Tools->Price Database->Get Quotes I get:
> > 
> > ERROR: ALPHAVANTAGE_API_KEY must be set for currency and quotes.
> > See
> > https://wiki.gnucash.org/wiki/Online_Quotes/#Source_Alphavantage.-2C_US
> > 
> > and yet:
> > 
> > steve at stevesdesktop:~/Downloads$ env|grep ALPHAVANTAGE
> > ALPHAVANTAGE_API_KEY=D5IXXXXXXXXXXX
> > 
> > steve at stevesdesktop:~/Downloads$ gnc-fq-dump currency GBP USD
> > 1 GBP = 1.2630887 USD
> > 
> > steve at stevesdesktop:~/Downloads$ gnc-fq-dump yahoo_json GOOGL
> > Finance::Quote fields Gnucash uses:
> >   symbol: GOOGL                <=== required
> >     date: 05/27/2022           <=== recommended
> > currency: USD                  <=== required
> >     last: 2246.33              <=\       
> >      nav:                      <=== one of these
> >    price:                      <=/        
> > timezone:                      <=== optional
> > steve at stevesdesktop:~/Downloads$ 
> > 
> > I have all my quotes set up to use yahoo_json so what am I missing?
> > 
> > Steve
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > ----- Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.  
> 



More information about the gnucash-user mailing list