Hi,

I'd like to get the running total of my assets for charting.
Given:

$ cat bug.ledger

2020/02/22 * Employer
    Income:Salary                            -1000
    Assets:Bank

2020/02/23 * Create Deposit
    Assets:Bank:Deposit                       500
    Assets:Bank

Ledger reports:

$ ledger -f bug.ledger reg -J Assets

2020-02-22 1000
2020-02-23 1500
2020-02-23 1000

I found the output misleading (and it also corrupts the chart). I never had 
1500 units of money.
It seems to me that ledger shows me a transient state: Assets:Bank:Deposit 
already
received the money, but Assets:Bank does not have it deduced yet.

I'd expect this output:

2020-02-22 1000
2020-02-23 1000

i.e: No change in the running total of Assets on 02/23.

How can I avoid this issue? Is it a bug, or do I structure my journal 
incorrectly?

Thanks,

-- 

--- 
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/0a1c9f1c-99da-469e-b4df-643c25ff281a%40googlegroups.com.

Reply via email to