No worries. I guess we interpreted Alex's initial question different.

Consider the following simple ledger file.

2020/03/01 Paycheck
>     Assets:Bank      $ 100.00
>     Income:Salary   -$ 100.00
>
> 2020/03/02 Lunch
>     Expenses:Food    $ 20.00
>     Assets:Bank     -$ 20.00
>
> 2020/03/03 Lunch
>     Expenses:Food    $ 20.00
>     Assets:Bank     -$ 20.00
>

I believe Alex wants to produce the following output:

Date         Net Worth
> 2020/03/01   $ 100.00
> 2020/03/02    $ 80.00
> 2020/03/03    $ 60.00
>

When I had to do something like this in the past I had to make a python
script that runs the balance command once per calendar date. If there is an
easier way to do this with a single ledger command it would be very useful
to me (and probably to Alex).

On Thu, Mar 26, 2020 at 6:53 PM John Wiegley <[email protected]> wrote:

> >>>>> "ST" == Sam Tetruashvili <[email protected]> writes:
>
> ST> Neither of these end up returning a table mapping calendar dates to net
> ST> worth.
>
> You never mentioned needing that. :)
>
> Can you show me an example of what you wanted to see, using fake numbers
> and
> account names?
>
> 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/m2h7yazq10.fsf%40newartisans.com
> .
>

-- 

--- 
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%3DjfUHNtneJOzsLDc3-1y%2B5Ceg4_AOX8oQWo6tnZkn2YFyw%40mail.gmail.com.

Reply via email to