On the chart, it showed that 600 shares was "Buy to cover" but the weird thing is there was another 600 shares which showed "Close position". Which I think could be why the strategies bought the extra 600 shares.
Why would there be 2 order to exit the trade? And what should I add in my code to prevent this from happening again?

Comment