in the doc, it shows this example,

2012-04-10 My Broker
    Assets:Brokerage            10 AAPL @ $50.00
    Assets:Brokerage:Cash      $-500.00

2012-04-10 My Broker
    Assets:Brokerage            10 AAPL {$50.00}
    Assets:Brokerage:Cash      $-500.00


and the doc says they're functionally equivalent.
Taking this example, I built this other one, but
Ledger says the second doesn't balance.

2004/05/01 Stock purchase
    Assets:Broker                                 49 AAPL @ $30.00   
    Assets:Broker                                  1 AAPL {$30.00}   
    Expenses:Broker:Commissions               $19.95
    Assets:Broker                         $-1,519.95

but this does

2004/05/01 Stock purchase
    Assets:Broker                          50 AAPL @ $30.00  ;; <- joining 
posting
    Expenses:Broker:Commissions        $19.95
    Assets:Broker                  $-1,519.95


Is this behavior expected? If I'm wrong, could you point me to the
appropriate documentation for me to understand?

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/ledger-cli/8c172a2a-b6df-4676-9f66-dd5ee795c45en%40googlegroups.com.

Reply via email to