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
On Wed, May 1, 2019, at 23:22, Justus Pendleton wrote:
>
> On Wednesday, May 1, 2019 at 4:16:48 PM UTC+7, Zhuoyun Wei wrote:
> > 2019-01-01 * "ACATS"
> > Assets:BrokerA:Positions -10 ADSK {100.00 USD, 2017-02-01}
> > Assets:BrokerA:Positions -20 ADSK {110.00 USD, 2017-03-01}
> > Assets:BrokerB:Positions 30 ADSK {170.00 USD, 2019-01-01}
> > Income:PnL -1900.00 USD
>
> If all you did is an in-kind transfer, there should be no alternation
> to PnL, yeah? The way you've done this also throws away lot
> information, which seems like something you probably want to keep.
>
> The way I've done this is:
>
> 2019-01-01 * "ACATS"
> Assets:BrokerA:Positions -10 ADSK {100.00 USD, 2017-02-01}
> Assets:BrokerA:Positions -20 ADSK {110.00 USD, 2017-03-01}
> Assets:BrokerB:Positions 10 ADSK {100.00 USD, 2017-02-01}
> Assets:BrokerB:Positions 20 ADSK {110.00 USD, 2017-03-21}
>
>
> --
> 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 post to this group, send email to [email protected].
> 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.
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/b3191f48-94dd-464c-81b8-7a977d8c6a3c%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.