On Sat, Mar 11, 2023 at 2:35 PM Albert <[email protected]> wrote:

>
> I think the correct result should be:
> 23-Jan-01 - 23-Jan-31    activos:btc    $1,200  $1,200
>

It seems that ledger takes the first currency as "base"

Not a solution but, if you  invert the transaction it reports the $
currency as base:

2023/01/02 compra BTC
activos:btc $500 @ 1 BTC
activos:bancos

2023/01/03 compra BTC
activos:btc $700 @ 1 BTC
activos:bancos

> ledger  reg btc -M -B
2023/01/01 - 23-Jan-31          activos:btc               $1,200.00
 $1,200.00

-- 

--- 
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 on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAPYcn%3D6Gh0eVda8ZR3c5hsw4yH0r0o0-q4PLOuLM0SxJ4qrwrg%40mail.gmail.com.

Reply via email to