My Problem:
I have submitted a stop order with a qnty of 18 as one single order.
But for some reason the api is placing 2 separat orders. One of them with the flag “partially_filled”.
How can I avoid this? Because of the day trading protection I can only close one of these 2 placed trades… and then my WinRate is every day destroyed because of the other position which is still open for many many hours and falls extremely out of my initial take profit or stop loss range.
BTW: For allllll other orders which I have placed and they where NOT handled as partially_filled orders, everything was working fine and I was able to close the trades really well.