> For the complete documentation index, see [llms.txt](https://docs.cap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cap.finance/trade/close-a-position.md).

# Close a position

1. Click on the X to close a position. Closing a position will realize its profits or losses.

   ![](https://2086947085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCsgWRyje4pqs2WheOD3%2Fuploads%2FGnsZgvyEyqWiWIleqkjh%2FScreen%20Shot%202021-11-19%20at%2010.04.58%20AM.png?alt=media\&token=488e9b15-1536-4345-8d2a-09db5f903277)
2. Enter how much of your position you'd like to close.

   ![](https://2086947085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCsgWRyje4pqs2WheOD3%2Fuploads%2FvrqK4UdKFfg520nlMUEJ%2FScreen%20Shot%202021-11-19%20at%2010.05.44%20AM.png?alt=media\&token=5ba7b290-dfb9-4809-9b8c-6d0cf080683f)

### Settlement

Once your order is submitted, your position's status will be "Closing" until the dark oracle picks up and prices your order (usually a few seconds).

![](https://2086947085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCsgWRyje4pqs2WheOD3%2Fuploads%2FBGIsrbyLFrFDcQcUC582%2FScreen%20Shot%202021-11-19%20at%2010.07.09%20AM.png?alt=media\&token=9afa6d92-6e13-4901-8481-05f463057f02)

Once settled, a new item appears in your History panel indicating the profit or loss you made.

![](https://2086947085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCsgWRyje4pqs2WheOD3%2Fuploads%2FbVrSCC6kkWrrvbV3mtvU%2FScreen%20Shot%202021-11-19%20at%2010.10.42%20AM.png?alt=media\&token=7e75ef58-ac5a-4b25-be86-24404af4dfe3)
