On Wed, Nov 22, 2023, at 12:17 PM, John Wiegley wrote:
>>>>>> Ondřej Čertík <[email protected]> writes:
>
>>> Does something like `--display-total account.total` help?
>
>> It doesn't seem to show the correct totals. Consider:
>
> Hmm… this doesn’t seem like something that the ‘reg’ report will ever be able
> to do, since it’s designed around a running total that reflects the direct
> summation of the amounts displayed. What you want is almost like a
> running-form version of the balance report. I don’t think Ledger has anything
> like this built in.

Yes, running-form balance report is one way to look at it. The algorithm for it 
is trivial, it's about 10 lines of Python code here: 
https://github.com/ledger/ledger/issues/2297. However it's probably more 
complicated to take into account all corner cases and integrate into ledger-cli.

Martin, thanks for the suggestion of "ledger reg --daily". It's not quite 
there, as you said.

I see now that the design of "reg" is to always have a running total of the 
amounts displayed. So it should probably be another command, or an option.

Ondrej

-- 

--- 
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/3ef81908-360b-4cb1-9a99-1c3554f00a53%40app.fastmail.com.

Reply via email to