> For the complete documentation index, see [llms.txt](https://logx-1.gitbook.io/logx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://logx-1.gitbook.io/logx-docs/logx-aggregator/trading-guide/close-position-market-order.md).

# Close Position - Market Order

Click on the "Close" button in your Positions tab below the trading charts

<img src="https://2320169509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F83Ldk66eIH4eYWRpmdK4%2Fuploads%2FORZXIVhl0gcJnGsudKgk%2Fimage.png?alt=media&#x26;token=953f5afb-8668-4245-8125-d2e1eeb4fad4" alt="Press the close button in Positions" width="100%">

In the Pop-Up that appears, choose the size of the position which you want to close and click "Confirm". \
In the below example, we are closing 100% of the position

<img src="https://2320169509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F83Ldk66eIH4eYWRpmdK4%2Fuploads%2FtsPfKbLhflCvjRZHeZ8F%2Fimage.png?alt=media&#x26;token=24088b81-07ce-4ce3-84bb-945077f9bf99" alt="Confirm the transaction in your crypto wallet." width="375">

Below image shows the popup which will appear if you are using Metamask as your wallet. If you are using any other wallet, confirm the transaction accordingly.

<img src="https://2320169509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F83Ldk66eIH4eYWRpmdK4%2Fuploads%2FkQ5rAlc9FS9Xycg5a6ba%2Fimage.png?alt=media&#x26;token=43693489-3ef5-419d-84f2-c7d1df86c2de" alt="" width="375">

Your position will be closed and the amount will be deposited into your wallet.
