0

Composite portfolio important and dangerous bug

Julien hace 2 años en Módulo de compra actualizado hace 2 años 1

Hello,

          hitting the "CLOSE" button on a composite portfolio should bring the composite portfolio account to 0 positions but more importantly, every account to 0 positions. So it can be safe.


          I ran into a situation where a slave account was at -2, the portfolio at 2 and when I hit "CLOSE", the slave account became -4 and the portfolio account 0.             

          Instead of trusting the portfolio account positions to close the others, each slave account positions should be checked to make sure they are all closed to exactly 0 positions. And then the portfolio account position can be reset to 0.

Thank you.

Also, the PnL of the portfolio account is updated correctly in the chart but not updated at all in the "Accounts" tab after the first few seconds.