Since moving to 2.6.1, I'm still having some old transactions which
are showing extra pennies here and there. I've simplified my file to
the following. Note that in my sell transaction, I'm using a format
that someone mentioned on this list a long time ago which allows me to
keep track of capital gains. Is this still the format I should be
using?
2006/03/30 BUY VVVVV
Assets:Investments:Principal:VVVVV 0.99 VVVVV @ $34.07
Assets:Investments:Principal:VVVVV 0.10 VVVVV @ $34.76
Assets:Investments:Principal $-37.21
2007/10/08 SELL VVVVV
Assets:Investments:Principal:VVVVV -1.09 VVVVV @ $34.09
Assets:Investments:Principal:VVVVV 1.09 VVVVV @ $37.51
Assets:Investments:Principal:VVVVV -1.09 VVVVV @ $37.51
Assets:Investments:Principal $40.89
Income:Capital Gains:NT
Yeah... weird, made-up numbers, but it shows the bug :-)
[22:25:47 vinod]:~/data $ ledger -f vk1.dat bal Ass.*VVVVV
--------------------
0
so far so good.
[22:26:36 vinod]:~/data $ ledger -f vk1.dat -V bal Ass.*VVVVV
$-0.01 Assets:Investments:Principal:VVVVV
--------------------
$-0.01
Now, I would expect this to be 0 as well, not $-0.01.
[22:26:39 vinod]:~/data $ ledger -f vk1.dat -Vs bal
$3.67 Assets:Investments:Principal
$-0.01 VVVVV
$-3.7319 Income:Capital Gains:NT
--------------------
$-0.06
Any ideas? Thanks in advance.
Vinod