Having previously opened a position we will now close it, hopefully with some profits!
To close a position you have two options:
- Create an equal and opposite position to your current position
- Use the close position button
In the position component displayed above click on the close position button, which should show the following pop-up:
Close position confirmation
Should you click confirm you will need to sign and approve the transaction using keplr:
Keplr close position transaction
Once the transaction is included in a block, you will be no longer have an open position and will have made a profit or loss accordingly.