very good! thanks
在2021年2月4日星期四 UTC+8 上午9:20:46 写道:
> * 老革命 [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
* 老革命 [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
With the following records,
I want to get the balance of "Stock" on 01/02
with -X $
Should be $10.00
--
2021-01-01 * Opening Balance
Assets:Broker:Cash$10.00
Equity:Opening Balances
2021/01/01 * Stock purchase
Assets:Broker:Stock