[GNC] Fetching quotes with flatpak

Jon Schewe jpschewe at mtu.net
Sun Apr 2 21:33:23 EDT 2023


When specifying the namespace it works. Good to know there is a bug
report about this. I've subscribed to it so that I know when it's been
fixed.

On Sun, 2023-04-02 at 19:24 +0000, Murugan Muruganandam wrote:
> Can you run this in debug mode and see what error you are getting
> 
> gnucash-cli --debug  --quotes get --namespace <insert your namespace
> from securities editor> <your gnucash data file>
> 
> 
> 
> Saludos Cordiales
> 
> Murugan
> From: Jon Schewe <jpschewe at mtu.net>
> Sent: Sunday, April 2, 2023 2:48 PM
> To: Murugan Muruganandam <m.muruganandam at hotmail.com>; gnucash-
> user at gnucash.org <gnucash-user at gnucash.org>
> Subject: Re: [GNC] Fetching quotes with flatpak
>  
> That works as expected
> 
> > flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
> dump yahoo_json acn
> acn:
>         date => 03/31/2023
>           pe => 26.31768
>         type => EQUITY
>      isodate => 2023-03-31
>          low => 282.61
>   year_range =>        242.8 - 345.3
>         high => 285.96
>       symbol => acn
>         open => 283.12
>          eps => 10.86
>     exchange => Sourced from Yahoo Finance (as JSON)
>      success => 1
>    div_yield => 1.5318757
>         name => acn (Accenture plc)
>       method => yahoo_json
>       volume => 3009370
>     currency => USD
>         last => 285.81
>        close => 282.66
> 
> 
> On Sun, 2023-04-02 at 18:05 +0000, Murugan Muruganandam wrote:
> > can you try the following and check
> > 
> > gnucash-cli --verbose -Q dump yahoo_json acn
> > 
> > 
> > 
> > Saludos Cordiales
> > 
> > Murugan
> > 
> > From: gnucash-user <gnucash-user-
> > bounces+m.muruganandam=hotmail.com at gnucash.org> on behalf of Jon
> > Schewe <jpschewe at mtu.net>
> > Sent: Sunday, April 2, 2023 10:53 AM
> > To: gnucash-user at gnucash.org <gnucash-user at gnucash.org>
> > Subject: [GNC] Fetching quotes with flatpak
> >  
> > I'm looking to use gnucash-cli to fetch quotes, however I'm told
> > I'm
> > missing a parameter. The commandline help documentation states to
> > use
> > "get" and then the datafile. I believe that I've done it correctly
> > here, what am I missing?
> > 
> > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes
> > > get
> > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> > Missing data file parameter
> > 
> > Thank you,
> > Jon
> > 
> > _______________________________________________
> > 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
> > -----
> > 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