[GNC] Fetching quotes with flatpak

Jon Schewe jpschewe at mtu.net
Sun Apr 2 14:48:30 EDT 2023


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