It appears that buying commodities (crypto currencies in the following 
example) debits them from Equity:Opening Balances.

Example: *test.ledger*

2018/10/01  Deposit
    Assets:Checking                 $200.00
    Equity:Opening Balances

2018/10/02  Purchase crypto
    Assets:Crypto                   0.429485 ETH @ $228.18
    Expenses:Commissions
    Assets:Checking                 $-100

*$ ledger -f test.ledger equity*

2018/10/02 Opening Balances
    Assets:Checking                          $100.00
    Assets:Crypto                       0.429485 ETH
    Equity:Opening Balances                 $-200.00
    Expenses:Commissions                       $2.00
    Equity:Opening Balances                   $98.00
    Equity:Opening Balances             -0.429485 ETH

*$ ledger -f test.ledger balance*

             $100.00
        0.429485 ETH  Assets
             $100.00    Checking
        0.429485 ETH    Crypto
            $-200.00  Equity:Opening Balances
               $2.00  Expenses:Commissions
--------------------
             $-98.00
        0.429485 ETH

Is there a way to make ledger know that this commodity was purchased with 
cash from *Assets:Checking*?

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to