very good! thanks 在2021年2月4日星期四 UTC+8 上午9:20:46<Martin Michlmayr> 写道:
> * 老革命 <[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/064c0127-3d11-4cf8-97cf-b385b0ea7e4en%40googlegroups.com.
