[GNC] GNUCash & Macros

Jon Schewe jpschewe at mtu.net
Fri Dec 31 09:49:38 EST 2021


On Fri, 2021-12-31 at 16:22 +0800, Kevin Buckley wrote:
> On Wed, 26 May 2021 at 23:11, Jack Frillman via gnucash-user
> <
> gnucash-user at gnucash.org
> > wrote:
> > I have repetitive task I do every day and I would like to reduce
> > the
> > number of steps to do that task.
> > 
> > More specifically I import stock/mutual fund and precious metal
> > prices
> > from a CSV file. Currently I go through the multi-step process the
> > GUI
> > walks you through. This is easy enough but I can be ultra lazy at
> > times
> > and would like to execute that import process using a macro if
> > possible.
> > 
> 
> Whilst I can't suggest a "macro" within Gnucash, I can suggest
> another
> way to achieve the same thing, assumimg you are happy doing a bit
> of shell scripting, plain text editing, and store your GnuCash files
> in
> uncompressed XML format.

If you are comfortable running a script and learning a little python,
this may help you with some options 
https://github.com/jpschewe/gnucash-stock-portfolio
It uses the gnucash API to write stock information.

I second the lots of backups suggestion.




More information about the gnucash-user mailing list