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 For: ledger reg btc -M 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 On Saturday, March 11, 2023 at 5:27:06 AM UTC-6 federico lopez wrote: > On Fri, Mar 10, 2023 at 9:50 PM Albert <[email protected]> wrote: > >> Hi guys I can't get my monthly BTC total invest. Cause params -M and -B >> are not working well. >> >> >> For: ledger reg btc -M >> I get: >> 23-Jan-01 - 23-Jan-31 activos:btc 1 BTC 1 BTC >> > > Can you try > ledger reg btc --exchange $ > or > ledger reg btc --market $ > > Note: The flag -M is for --monthly > -- --- 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/0a4764d8-9163-4570-a6ec-c5d49f666897n%40googlegroups.com.
