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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to