The last entry below is a transfer of lots from one account to another. The
implicit_prices plugin picks up the cost price, which is incorrect. It
should instead do nothing, when a price is not specified. I haven't looked
deeper into how to distinguish a "true" augmenting transaction vs a lot
transfer.
*2000-01-01 open Assets:Brokerage:USD*
*2000-01-01 open Assets:Brokerage:HOOL
"STRICT"2000-01-01 open Assets:Zero-Sum-Accounts:Transfers
"STRICT"2005-01-01 commodity USD2005-01-01 commodity HOOL2020-01-01 *
"Buy" Assets:Brokerage:HOOL 1000 HOOL {1 USD, 2020-01-01}
Assets:Brokerage:USD -1000 USD2020-01-01 price
HOOL 1 USD __implicit_prices__:
"from_cost"2020-10-01 price HOOL 1.1
USD2020-10-02 * "Transfer out, in kind"
Assets:Brokerage:HOOL -1000 HOOL {1 USD, 2020-01-01}
Assets:Zero-Sum-Accounts:Transfers 1000 HOOL {1 USD,
2020-10-02}2020-10-02 price HOOL 1 USD
__implicit_prices__: "from_cost"*
--
You received this message because you are subscribed to the Google Groups
"Beancount" 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/beancount/fb1d8f89-5770-43c0-add5-f3dad141de9cn%40googlegroups.com.