> For the complete documentation index, see [llms.txt](https://docs.easyx.trade/easyx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easyx.trade/easyx/start-trading/or-easyx-guide/positions/edit-the-position.md).

# Edit the Position

## Edit Mode for Open Position

After a position is opened, it appears in the <mark style="color:green;">**Position List**</mark>, as shown on the screen below. To edit it, click the <mark style="color:green;">**Edit Position Button**</mark> on the right, which will open a new window for modifications.

<figure><img src="/files/8DlTDW55L3MXJOuvtDJA" alt=""><figcaption></figcaption></figure>

Once you enter edit mode for the position, you will see a screen with detailed position information that can be edited.

<figure><img src="/files/xdVtlfwmPAxdMB2x9M06" alt=""><figcaption></figcaption></figure>

{% hint style="success" %} <mark style="color:green;">**Glossary for the image above:**</mark> ⬆️

**Current Position Info:** Existing position information: asset type, long/short, entry price, current profit/loss, collateral, liquidation price.

&#x20;**Function Tabs:**

&#x20;        <mark style="color:blue;">**Leverage:**</mark> Increase leverage on existing position using the slider without adjusting collateral.

&#x20;    <mark style="color:blue;">**Deposit:**</mark> Add collateral to existing position using the slider (this will have the dual effect of decreasing the position's leverage).

&#x20;        <mark style="color:blue;">**Withdraw:**</mark> Remove collateral from existing position using the slider (this will have the dual effect of increasing the position's leverage).

<mark style="color:red;">**Stop Loss**</mark>**&#x20;Slider:** The price at which your trade will automatically close at a loss and prevent further losses.&#x20;

**Confirm All Changes / Discard Buttons:** Save changes made to this position or clear them.&#x20;

<mark style="color:green;">**Take Profit**</mark>**&#x20;Slider:**  The price at which your trade will automatically close in profit.&#x20;

<mark style="color:green;">**PnL**</mark>**&#x20;Simulator:** Reflecting profit/loss estimates based on current&#x20;

<mark style="color:green;">**Take Profit**</mark>**&#x20;and&#x20;**<mark style="color:red;">**Stop Loss**</mark> positions set below. Use the slider to see profit/loss estimates for other asset prices.&#x20;

**Share Button:** Generates a <mark style="color:green;">**PnL**</mark> card for the position that can be downloaded and shared.&#x20;

**Close Button:**  Closes the position.
{% endhint %}


---

# 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.easyx.trade/easyx/start-trading/or-easyx-guide/positions/edit-the-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.
