ANNOUNCE: Auto Cap Gains, alpha 1
Linas Vepstas
linas at linas.org
Thu Aug 28 12:19:00 CDT 2003
On Thu, Aug 28, 2003 at 05:47:56PM +0200, Herbert Thoma was heard to remark:
> Linas Vepstas schrieb:
> >
> > The development CVS tree now has code that automatically
> > computes capital gains on any/all investment/commodity
> > accounts. This can be done by selecting 'Actions..Scrub".
> > The results of this can be viewed in the registers or, better
> > yet, with the 'lot viewer' (click on 'Actions .. View Lots').
> >
> > Not finished, but under development, are:
> > -- If a transaction is edited after the cap gains are computed, the
> > gains are *not* automatcally updated. This feature is in development.
> >
> > Not started, not under development:
> > -- The report system does not use this feature yet, it should.
> > This is a call for a volunteer to add a cap-gains report!
>
> I think I will volunteer here. The advanced portfolio report
> does not handle the zero shares transactions for cap-gains
> correctly and I feel kind of resposible for that report.
> When I fix this, I will hopefully learn enough about lots
> to do cap-gains report, too.
The right wy to do this now is to call the 'SplitGetCapGains' routine
instead. (which needs to be g-wrapped). if you use that routine,
then you should just-plain ignore the zero-share splits, which are
too hard to work with directly.
> But don't expect something too soon ...
let me know if you'll need other ehlper funcs ...
--
pub 1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984 3F54 64A9 9A82 0104 5933
More information about the gnucash-devel
mailing list