> For the complete documentation index, see [llms.txt](https://guide.moontrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.moontrader.com/en-moontrader-docs/interface-basics/tabs/trades-and-positions.md).

# Trades & Positions

Panel for monitoring open positions, deal history, and managing trading results.

### Main Elements

* **Markets** — switch between different types of trading markets
* **Control buttons** — operations with selected positions
* **Data table** — display positions and deals
* **Filter panel** — tools for searching and grouping data
* **Overall statistics indicators** — aggregate metrics for all positions and deals

### Overall Statistics Indicators

* **Margin** — total collateral size for all open positions
* **P\&L** — total unrealized profit or loss
* **ROE** — overall financial result in percentage

### Table Information

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FuoSd8pkRYzx9otTzOMlO%2FTrades%20%26%20Position%20-%20Table.png?alt=media&amp;token=a4a28cd1-f710-484a-a6a7-f992de568772" alt=""><figcaption></figcaption></figure>

* **Symbol** — trading pair
* **Date/Time** — position opening time or deal execution time
* **Side** — buy or sell
* **Size** — position or deal volume
* **QTY** — asset quantity
* **P\&L** — profit and loss
* **ROE** — operation financial result
* **Price** — current market price of asset
* **TP** — take profit (profit target)
* **SL** — stop loss (loss limit)
* **TS** — trailing stop
* **Entry price** — position opening price
* **Liquidation price** — critical level for positions
* **Margin** — collateral size
* **Table management** — select displayed columns in the table

### Data Display Structure

#### Position (main row)

* **Record format:** "Position" in Date/Time field
* **Displayed data:** size, quantity, P\&L, ROE, price, entry price, liquidation price, margin
* **Not displayed:** trading side, risk management (TP/SL/TS)

#### Deal (subordinate row)

* **Record format:** specific date and time of operation with side indication
* **Displayed data:** side, size, quantity, P\&L, ROE, TP, SL, TS, entry price
* **Not displayed:** price, liquidation price, margin

#### Grouping Principle

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FDRwtXfJWEM2Qy1vcw92x%2FTrades%20%26%20Positions%20-%20Tabs.png?alt=media&amp;token=f8134900-800f-45e5-99e9-dbc594db758f" alt=""><figcaption></figcaption></figure>

* **Futures market:** each position has subordinate deals displayed under the main position row
* **Spot market:** only deals are displayed without grouping by positions
* **Deal display condition:** deal is shown in the table while TP/SL is set on it
* Risk management (TP/SL/TS) is performed at the deal level, not position level

### Operations

#### Bulk Operations

#### Positions

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FBy6I057Y0oqyUya734m8%2FTrades%20%26%20Positions%20-%20Position%20Buttons.png?alt=media&amp;token=bd0f524a-e558-4cc1-8d8f-b788418ff448" alt=""><figcaption></figcaption></figure>

1. **Restart TP/SL** — reset risk management for selected positions
2. **Close with limit** — close selected positions with limit orders
3. **Close with market** — close selected positions with market orders
4. **Instant close** — emergency close selected positions

#### Deals

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FIJcdbJpMJI2q2bCuFkUy%2FTrades%20%26%20Positions%20-%20Trade%20Buttons.png?alt=media&amp;token=74344935-1332-4d85-b03c-fe3cff458305" alt=""><figcaption></figcaption></figure>

1. **Split** — create several independent parts of a trade for a staged exit from the position
2. **Join**  — merge several open trades into one position with a volume-weighted average entry price
3. **Cancel** — cancels selected deals
4. **Panic** — emergency close selected deals

#### Individual Position Operations

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FBXJObmtH1RCgfEkzwqE8%2FTrades%20%26%20Positions%20-%20Position%20Row.png?alt=media&amp;token=411b9afc-33d5-46a1-a995-cd2f87892184" alt=""><figcaption></figcaption></figure>

1. **Add margin** — increase collateral for position
2. **Restart TP/SL** — reset and reconfigure risk management
3. **Close with limit order** — close position at specified price with result recorded in reports
4. **Close with market order** — close position at current price with result recorded in reports
5. **Instant close** — emergency close position at market price

#### Individual Deal Operations

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2Fe6dVZWbnAVt8jwyWjgCI%2FTrades%20%26%20Positions%20-%20Trade%20Row.png?alt=media&amp;token=e6c7a236-e810-460a-b701-0fdd0aa9ae24" alt=""><figcaption></figcaption></figure>

1. **Cancel** — cancels deal
2. **Panic** — emergency close deal
3. **Split** — create several independent deal parts for staged position exit

### Filters

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FdGNDlGt2w5wctsqxPatq%2FTrades%20%26%20Positions%20-%20Filters.png?alt=media&amp;token=217add35-613f-4213-a1a2-60aa3b459484" alt=""><figcaption></figcaption></figure>

* **Search** — search by trading pair name
* **By ROE** — profitable and unprofitable operations

### General Statistics Indicators

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2Fk6XDzBBO6Scv7sXLK1N4%2FTrades%20%26%20Positions%20-%20Statistics.png?alt=media&amp;token=976496a5-d4a7-480b-aff4-4fa9bac883e3" alt=""><figcaption></figcaption></figure>

* **Margin** — total collateral amount across all open positions
* **PNL** — total unrealized profit or loss
* **ROE** — total financial result in percent


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.moontrader.com/en-moontrader-docs/interface-basics/tabs/trades-and-positions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
