[GNC] questions about the python bindings and pricdb add_price()

John Ralls jralls at ceridwen.us
Mon Nov 25 22:50:08 EST 2024


> On Nov 25, 2024, at 10:42, Noerr via gnucash-user <gnucash-user at gnucash.org> wrote:
> 
> The price source hierarchy means new prices from
> PRICE_SOURCE_USER_PRICE would overwrite transaction and stock split price
> sources.  I don't want that.

It overwrites the price *in the pricedb*. It has no effect on the transaction and so no effect on the book value of the stock. Reports have a pricing option, Average Cost, that reports the effective book value in most cases (I don’t think it handles returns of capital).

Regards,
John Ralls


More information about the gnucash-user mailing list