Tx Federico but what I get in bot examples you suggest is the same I get with: ledger reg btc -M -V
I extended my example file to clarify the issue
Example file:
2023/01/01 balance inicial
activos:bancos $1500
capital:inicial
2023/01/02 compra BTC
activos:btc 1 BTC @ $500
activos:bancos
2023/01/03 compra BTC
activos:btc 1 BTC @ $700
activos:bancos
I get: OK
23-Jan-01 - 23-Jan-31 activos:btc 2 BTC 2 BTC
For: ledger reg btc -M -V
I get: OK
23-Jan-01 - 23-Jan-31 activos:btc $1,400 $1,400
The error is here: ledger reg btc -M -B
I get: error?
23-Jan-01 - 23-Jan-31 activos:btc 2 BTC 2 BTC
I think the correct result should be:
23-Jan-01 - 23-Jan-31 activos:btc $1,200 $1,200