Thank you Justus! This is exactly what I want. Listing every lot is a bit verbose, but it's a once-in-a-while thing, so I am okay with it.
One thing surprises me is that the receiving broker (InteractiveBrokers, to be exact) does not preserve the cost basis. In its PDF statement and the TWS, the cost basis of the inbound positions is the price when IBKR receives the positions. It's my first time doing ACATS, so I have no idea if this is a normal thing.
Anyway, I am satifsfied that Beancount is able to keep the lots info (cost basis, date) even when the broker is unable to :-)
--
Zhuoyun Wei
> --
> 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
beancount+...@googlegroups.com.
> To post to this group, send email to
bean...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/beancount/401d7fb5-8a20-4444-b31c-0ede49724557%40googlegroups.com <
https://groups.google.com/d/msgid/beancount/401d7fb5-8a20-4444-b31c-0ede49724557%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.