Thanks Martin! The -B option is what I was looking for.

Cheers!

On Sunday, October 7, 2018 at 8:39:32 AM UTC-7, Martin Michlmayr wrote:
>
> * [email protected] <javascript:> <[email protected] <javascript:>> 
> [2018-10-07 08:31]: 
> > *$ 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? 
>
> $ and ETH are different commodities.  The balance report you run has: 
>
>  $100 Checking 
> -$200 Opening balance 
>
> which makes $-98.  You also have 0.429485 ETH 
>
> As it turns out, the 0.429485 ETH you bought had a cost of $98. 
>
> And -98 and +98 is 0, which means it balances. 
>
> If you use the -B option, it will show it: 
>
>              $198.00  Assets 
>              $100.00    Checking 
>               $98.00    Crypto 
>             $-200.00  Equity:Opening Balances 
>                $2.00  Expenses:Commissions 
> -------------------- 
>                    0 
>
> -- 
> 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