>>>>> "MM" == Marcelo Muñoz <
ma.muno...@gmail.com> writes:
MM> in the doc, it shows this example,
MM> 2012-04-10 My Broker
MM> Assets:Brokerage 10 AAPL @ $50.00
MM> Assets:Brokerage:Cash $-500.00
MM> 2012-04-10 My Broker
MM> Assets:Brokerage 10 AAPL {$50.00}
MM> Assets:Brokerage:Cash $-500.00
MM> and the doc says they're functionally equivalent.
MM> Taking this example, I built this other one, but
MM> Ledger says the second doesn't balance.
I’m a little surprised that the docs say these are functionally equivalent.
The first once balances $-500 against $500. The second balances $-500 against
10 AAPL {$50.00}. In terms of the cost basis they are equivalent, but there is
some extra magic that happens when @ is used, in order to balance the cost
against the cash position.
John