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/CAPYcn%3D7FcANCoZ%2B_kVtWpyrbAcDksUcmgJO2gRJcQE604VnyUQ%40mail.gmail.com.

Reply via email to