Square off CO order


I was trying to cancel the Cover Order when I wanted to exit the position. But there is an exception being thrown saying "Cover orders cannot be canceled".

What is the right way to exit CO orders?
PS: Im currently trying to cancel the cover order and not the parent order.

Please help
This discussion has been closed.