On Fri, 15 Oct 2021, at 23:57, John Lee wrote: > 2015-01-01 * Buy VIFSX > Assets:Broker 100 VIFSX > Assets:Cash $-1000 > > 2015-01-02 * Adjustment > Assets:Broker 10 VIFSX > Equity:Adjustments > > > Problems: > > 1. This prints 110 VIFSX as I expected: > > ledger -f test.ledger b Assets:Broker > > However this prints 100 VIFSX: > > ledger -f test.ledger b Allocation > > Why don't they both print 110 VIFSX? > > > 2. If I change that file to remove the explicit Assets:Cash dollar > amount $-1000 (so the elided value gets filled in by ledger as a VIFSX > commodity amount), this prints nothing: > > ledger -f test.ledger b Allocation > > Why doesn't it print 110 VIFSX? It seems again to be related to the > elided amount -- if I add "-10 VIFSX" explicitly to the second > transaction, it does print 110 VIFSX.
Sorry, I intended to tack on that last sentence above in the context of problem 1, not problem 2. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/b3ca1346-6304-4f23-bf7b-4f92d59966ab%40www.fastmail.com.
