> For the complete documentation index, see [llms.txt](https://docs.cod3x.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cod3x.org/terminal-overview/position-management/editing-a-position.md).

# Editing a position

## Editing a Position

Markets change fast. Cod3x lets you adapt without closing and reopening trades. \
Click the **three-dot menu** on any open position to launch the **Edit Position** panel and manage every key parameter in one place.

***

### Core Edit Options

Inside the edit modal you can:

* **Add Stop Loss / Take Profit**\
  Add or update SL/TP orders at any time.
  * Use fixed price targets or percentage moves.
  * Helps lock in profits or cut losses automatically.
* **Add Collateral**\
  Deposit extra margin to strengthen the trade.
  * Increases liquidation buffer.
  * Reduces leverage on the remaining position.
* **Remove Collateral**\
  Withdraw margin to free up capital elsewhere.
  * Raises leverage on the current position.
  * Useful when you want to recycle idle funds but keep the trade alive.
* **Increase Position Size**\
  Add more exposure to the same trade.
  * Keeps the existing entry logic and stop/target structure.
  * Ideal for pyramiding into a move that’s going your way.
* **Reduce Position Size**\
  Take partial profits or reduce risk.
  * Close any percentage of the trade without closing it completely.
  * Leaves the rest of your collateral intact.
* **Close Position**\
  Exit and realize PnL.
  * One click to lock in gains or limit losses.

Each change triggers an on-chain confirmation so you can track every adjustment transparently.

***

### Practical Tips

* **Dynamic Risk Management**\
  Start with a base position and add or remove collateral as the market proves or disproves your thesis.
* **Partial Scaling**\
  Combine “Increase” and “Reduce” to scale in and out of trades, fine-tuning exposure without starting over.
* **Efficiency First**\
  Editing avoids extra fees and slippage that can come from closing and reopening a trade.

***

### Key Takeaway

The Edit Position panel is your control room for live trades.\
Whether you’re adding protection, adjusting leverage, or scaling position size, every action is immediate, precise, and recorded on-chain.


---

# 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.cod3x.org/terminal-overview/position-management/editing-a-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.
