Exiting a Cover Order

ramatius
How can I exit a CO using the API? Lets say, I have bought CRUDEOILM17JULFUT quantity 5 at 10:00:00. Assume that the order got executed but it hasn't hit the SL yet at 11:00:00. How can I exit the position through the API? Should I place a regular sell order? Or should I modify the CO itself to exit?

The "Modifying orders" section in the documentation doesn't have the answer (or I am missing it somehow).

Suppose I place a sell order to square off the position and the CO hits SL at the same time, what happens?
Tagged:
This discussion has been closed.