Murugan/Jon, I'm having the same issue which isn't really an issue for me as I usually just run Get Quotes from within GnuCash itself. I was able to get updated quotes however by including the namespace parameter as follows:-
flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get --namespace=NYSE /home/<<user name>>/Documents/Test.gnucash Found Finance::Quote version 1.5301. Hope this helps, Cheers David H. On Mon, 3 Apr 2023 at 05:25, Murugan Muruganandam < m.muruganan...@hotmail.com> 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 <jpsch...@mtu.net> > Sent: Sunday, April 2, 2023 2:48 PM > To: Murugan Muruganandam <m.muruganan...@hotmail.com>; > gnucash-user@gnucash.org <gnucash-user@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....@gnucash.org> on behalf of Jon > > Schewe <jpsch...@mtu.net> > > Sent: Sunday, April 2, 2023 10:53 AM > > To: gnucash-user@gnucash.org <gnucash-user@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@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. > > _______________________________________________ > gnucash-user mailing list > gnucash-user@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. > _______________________________________________ gnucash-user mailing list gnucash-user@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.