Thanks for the help Federico. Finally had to download and compile the 2.5 version and the params -M and -B worked perfectly nice together.
On Sunday, March 12, 2023 at 3:47:58 AM UTC-6 federico lopez wrote: > On Sat, Mar 11, 2023 at 5:48 PM Albert <[email protected]> wrote: > >> I tried your suggested command and got same result, monthly accumulated >> of the actual market price and I want monthly accumulated of the total >> capital invested (cost). >> >> I think its a bug. The -B param works perfectly all the time, except when >> there is a group command too, like -M or -Y for example. >> > > As a workaround you can try: > > ledger reg btc -B --group-by 'format_date(date, "%Y-%m")' > -- --- 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/453a16eb-c067-4e28-9217-3ce82d348da8n%40googlegroups.com.
