>>>>> "MM" == Marcelo Muñoz <[email protected]> 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

-- 

--- 
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 visit 
https://groups.google.com/d/msgid/ledger-cli/m27bzpnufo.fsf%40gmail.com.

Reply via email to