This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
11 lines
437 B
Text
11 lines
437 B
Text
reg --payee='account_base + ":" + commodity'
|
|
<<<
|
|
2007/02/02 RD VMMXX
|
|
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
|
|
Income:Dividends:Vanguard:VMMXX $-0.35
|
|
>>>1
|
|
07-Feb-02 VMMXX:VMMXX As:In:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
|
|
07-Feb-02 VMMXX:$ In:Di:Vanguard:VMMXX $-0.35 $-0.35
|
|
0.350 VMMXX
|
|
>>>2
|
|
=== 0
|