Thank you so much John! For my larger ledger file with more than 1
commodity I found it useful to modify your suggestion as follows

ledger -f foo.dat reg assets liabilities --daily -V -n -F '%(date) %12(T)\n'
>

For posterity, the -n flag (aka --collapse) is the part of John answer that
causes the total value of all account to be aggregated. The --daily flag
set the period of aggregation to a single calendar day.

On Fri, Mar 27, 2020 at 3:05 PM John Wiegley <[email protected]> wrote:

> >>>>> "ST" == Sam Tetruashvili <[email protected]> writes:
>
> ST> I believe Alex wants to produce the following output:
> ST>     Date         Net Worth
> ST>     2020/03/01   $ 100.00
> ST>     2020/03/02    $ 80.00
> ST>     2020/03/03    $ 60.00
>
> This is produced by the following:
>
> ledger -f foo.dat reg assets liabilities --daily -n -F '%(date)
> %12(total)\n'
>
> John
>

-- 

--- 
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/CADac%3DjeLT8FGQ3RD684ezK20E1%2Bkfg8qxtQcO%2BDmNaY3w%2BH%2BkQ%40mail.gmail.com.

Reply via email to