Why does the balance command show a "hanging" balance?

*$ 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  <---- shouldn't this be $0.00?
        0.429485 ETH  <---- and why is this here?

On Sunday, October 7, 2018 at 7:16:48 AM UTC-7, Martin Michlmayr wrote:
>
> * [email protected] <javascript:> <[email protected] <javascript:>> 
> [2018-10-07 07:12]: 
> > It appears that buying commodities (crypto currencies in the following 
> > example) debits them from Equity:Opening Balances. 
>
> > 2018/10/01  Deposit 
> >     Assets:Checking                 $200.00 
> > 
> > *$ ledger -f test.ledger balance* 
> > 
> >              $100.00 
> >         0.429485 ETH  Assets 
> >              $100.00    Checking 
>
> > Is there a way to make ledger know that this commodity was purchased 
> with 
> > cash from *Assets:Checking*? 
>
> Your own example shows that this is exactly what is happening already. 
> You had $200 and now you have $100 in assets:checking. 
>
> You just get confused my the equity command.  Don't use that.  This is 
> only to create starting balances if you want to split your ledger 
> file. 
> https://www.ledger-cli.org/3.0/doc/ledger3.html#The-equity-command 
>
> -- 
> Martin Michlmayr 
> https://www.cyrius.com/ 
>

-- 

--- 
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