Composite portfolio important and dangerous bug

Julien 2 года назад в Торговый модуль обновлен 2 года назад 1


          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.

Сервис поддержки клиентов работает на платформе UserEcho