From Main Menu, click Dashboard.
Click the MARGIN at the top right of the page to switch to margin market.
Click Positions in the Orders panel at the bottom of the page.
Change the Status filter to “Open.”
On the right of each open position, there is a Cancel button (scroll down and to the right if you can’t see it yet).
Click Cancel. You will be able to choose how much of the position you want to cancel.
Click on the tick symbol.
A popup confirmation will ask you to confirm the cancellation. Click Confirm to proceed, or Dismiss to go back. If you click Confirm, the next popup will confirm that the position has been cancelled successfully. Click Dismiss again.