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

# Closing a position

You manage and close your open positions from the bottom of the **Trade** screen.

***

## Where to find your positions

In the lower section of the **Trade** screen you'll see your open positions and orders. On the far right of each one, there are three buttons.

<figure><img src="/files/06ca3IOkUJpuZani7PIC" alt=""><figcaption><p>Open positions at the bottom of the Trade screen</p></figcaption></figure>

## The three buttons

{% tabs %}
{% tab title="Reverse" %}
Flips your position to the opposite direction using a market order. For example, a long position becomes a short.
{% endtab %}

{% tab title="Close" %}
Closes a position. First choose the closure type (**Market Price** for an instant close, or **Limit Price** to set a price) and the amount you want to close in the area above the button.
{% endtab %}

{% tab title="Close All" %}
Closes every open position at once, in a single action.
{% endtab %}
{% endtabs %}

<figure><img src="/files/nwYl8QwSf5cXdKbhVfaq" alt=""><figcaption><p>Close all, Close and Reverse on an open position</p></figcaption></figure>

{% hint style="info" %}
A **Limit Price** close places a limit order that reserves your contracts: while it's pending, a Stop Loss or Take Profit on the same position can't use those contracts. See [Take profit and stop loss](/hashhedge-user-guide/trading-terminal/take-profit-stop-loss.md).
{% endhint %}

## Profit, loss and fees

In the **Position History** tab, the PnL is shown **without fees**. You can see the opening and closing fees for a position on the right side of the same tab.

***

Remember that trading fees apply both when you open and when you close a position. See [Fees and funding rate](/hashhedge-user-guide/trading-terminal/fees-funding.md) for the details.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hashhedge.gitbook.io/hashhedge-user-guide/trading-terminal/close-position.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
