* 老革命 <[email protected]> [2021-02-03 00:05]:
> bal Stock -X $ -e 01/03
> The result is $4.00
> Not the expected result $10.00
> 
> -e Limit the processing to transactions before 01/03,is 01/02
> but price on 01/03

You need:
    -e 2021/01/03 --now 2021/01/02

--end/-e only limits when transactions end, but pricedb entries from
later transactions are still evaluated and you need --now to value
at that day rather than now.

-- 
Martin Michlmayr
https://www.cyrius.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/20210204012037.GA23576%40jirafa.cyrius.com.

Reply via email to