The net effect is I still have the original 20000 shares, while in real life the end position is only 2 shares. The process counter-booked the outbound and inbound transactions making them disappear.
Where does this go wrong?
On the first picture, ‘Type of data’ is ‘Account Transaction’. So the ‘transfert’ are understood as cash transfer, not shares transfert. Can you try with ‘Portfolio Transactions’ instead if this works better ?
Overview of all transactions: Quote is not filled in for both the Buy and the outbound transfer of the 20.000 shares, but it did for the inbound transfer of the 2 shares.
The transactions in the Security account:
Copies of the portfolio transactions Transfer (Outbound) are added in green and named Transfer (Inbound).
The Volume of security deposits has an insane number.