> For the complete documentation index, see [llms.txt](https://docs.degenarena.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.degenarena.app/modifying-and-closing-positions.md).

# Modifying and Closing Positions

Once you've opened a position, you can view it at any time by messaging the bot `/positions`.

<figure><img src="/files/16NFDwiS6GVfc7xUymEW" alt="" width="375"><figcaption></figcaption></figure>

There, you can click on a specific trading pair, and modify your position.

<figure><img src="/files/V6yumMTUDUUXfaZl0Sy7" alt="" width="375"><figcaption></figcaption></figure>

You will see your current unrealized PNL, along with options to increase position size, close position (either partially or in whole), increase margin, or create new orders such as take profit or stop loss orders.

Let's increase our position size. Click `Increase Position`.

<figure><img src="/files/MFa86PuHXxwMsG8UclsA" alt="" width="375"><figcaption></figcaption></figure>

Now, choose leverage. Let's stick with 25x, because why not.

<figure><img src="/files/rT0PhWReygskQQnxgujB" alt="" width="375"><figcaption></figcaption></figure>

Enter the margin you wish to use to increase your position size, in this case another 25 USDT.

<figure><img src="/files/mpFiYeW4NCVhyQb2iPxy" alt="" width="375"><figcaption></figcaption></figure>

Double check your trade details, and click `Confirm`.

<figure><img src="/files/Hi5xcdZKuZDLcredsuLx" alt="" width="375"><figcaption></figcaption></figure>

The add-on position has been opened. Now let's say I want to close. Type `/positions`, and click on the desired pair. Then click `Close Position`.

<figure><img src="/files/h6r194FxD46Pgenct2BH" alt="" width="375"><figcaption></figcaption></figure>

In this case, I'll choose to close 100% of my position.&#x20;

<figure><img src="/files/uE9hb1OdkLU5KRdvkOCp" alt="" width="375"><figcaption></figcaption></figure>

I'll click `Confirm`, and see a transaction success, with a sharing card including my realized PNL sent to me and my clan.

<figure><img src="/files/7q1LOtVH4L1rvGG2OYhZ" alt="" width="375"><figcaption></figcaption></figure>


---

# 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://docs.degenarena.app/modifying-and-closing-positions.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.
