When exiting a CO with the exit_order() function, what happens to the stop loss that was placed from your end when the CO order was placed. Do I have to cancel that separately? Also when exiting the CO, what type of order is placed? MRKT? Do I have the option to have LIMIT? (Ex: Sell at or above this price). If so which param should I use?
If you have to exit a cover order then you will have to place a market order. A user doesn't have to do this explicitly, the system will take care of it when you send a request for exit_order.
If the second leg order is not executed then it is still considered as open position, right?
If the second leg order is not executed then it is still considered as open position, right?