Reporting: weighted average price source

Derek Atkins warlord at MIT.EDU
Mon Jul 7 15:21:05 EDT 2008

"Charles Day" <cedayiv at> writes:

> I agree with Derek. That is, the "weighted average" price source is not
> intended to compute the cost of your holdings, but rather to compute the
> volume-weighted average price of all buys AND sells. So it needs to keep using
> the absolute value. However, it does need to be changed: it should ignore
> exchanges with a zero "amount" in the split.



       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list