> For the complete documentation index, see [llms.txt](https://trader-docs.b2trader.b2broker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trader-docs.b2trader.b2broker.com/widgets/open-positions.md).

# Open positions

## Summary

This widget displays a list of your positions currently open on the selected account.

<figure><img src="/files/57ZQluaZBIf9cLJ0bMBj" alt="Open positions"><figcaption><p>Open positions</p></figcaption></figure>

{% hint style="info" %}
The widget lists only open positions. For a list of closed positions, use the [Closed positions](/widgets/closed-positions.md) widget.
{% endhint %}

## Settings

### Adjust the time period

By default, the widget lists open positions for all the time. To display positions opened during a specific time period, use the **Select date range** field. The most recent position appears at the top of the list.

### Configure columns

Click the **Configure columns** button in the widget header to adjust the displayed information:

* **Mark or unmark column checkboxes**: To display or hide them; the column checkboxes highlighted in grey can’t be unmarked.
* **Drag and drop the columns**: To adjust their order in the table.

### View related trades

Click the **chevron icon** in a position row to expand a list of related trades.

### Close positions

To close a position, hover over it and click the **CLOSE** button that appears.

To close all/multiple positions at once, click **Close all** and select the desired option: close all positions or close positions with positive/negative PnL.

## Fields

The following information is provided about each position:

**Market**

The market type (Spot, CFD, or Perpetual) and market ticker.

***

**Full name**

The market full name or description.

***

**Position ID**

The position identifier.

***

**Side**

The position side: Buy or Sell.

***

**Position size**

The current position volume, in lots.

***

**Open price**

The volume-weighted average price (VWAP) at which the position was opened.

***

**Current price**

The current market price of the base asset: bid for Long positions and ask for Short positions.

***

**Stop loss**

The [Stop loss](/knowledge-base/price-triggers.md) value, if set when placing the order.

If the value wasn't set, you can use the **Add** button to configure it.

***

**Take profit**

The [Take profit](/knowledge-base/price-triggers.md) value, if set when placing the order.

If the value wasn't set, you can use the **Add** button to configure it.

***

**Unrealized PnL, DAY, {RAT}**

The potential profit or loss earned for a current day, in conversion to the platform root asset.

For **Long** positions, this value is calculated as *Position size* × (*Current bid price* – *First bid price for today*).

For **Short** positions, this value is calculated as *Position size* × (*First ask price for today* – *Current ask price*).

If a position was opened today, then the *Open VWAP* is used instead of the *First price for today*.

***

**Unrealized PnL, DAY, %**

The potential profit or loss earned for a current day, in percents.

***

**Unrealized PnL, Total, {RAT}**

The potential profit or loss earned for the entire period from the moment the position was opened, in conversion to the platform root asset.

For **Long** positions, this value is calculated as *Position size* × (*Current bid price* – *Open VWAP*).

For **Short** positions, this value is calculated as *Position size* × (*Open VWAP* – *Current ask price*).

***

**Unrealized PnL, Total, %**

The potential profit or loss earned for the entire period from the moment the position was opened, in conversion to the platform root asset, in percents.

***

**Used margin, {RAT}**

The amount of your funds used for maintaining a position, in conversion to the platform root asset.

***

**Leverage**

The actual leverage ratio used for opening a position.

***

**Req. leverage**

The leverage ratio you requested when opening a position.

***

**{RAT} notional**

The current position size equivalent in the platform root asset.

***

**Rate to {RAT}**

The current exchange rate of a quote asset to the platform root asset.

***

**Open date, time**

The date and time when a position was opened.

***

**Updated date, time**

The date and time of the latest position-related trade.

***

**Reason**

The reason for opening a position:

* **Trader**: The position was opened by you.
* **Admin**: The position was opened by an Admin.
* **Webhook alert**: The position was opened via a [TradingView webhook](https://github.com/b2broker-gitbook/gitbook-bbp/blob/master/b2trader/get-started/tradingview-webhooks.md).

***

**Comment**

The text note inherited from the opening order. Up to 100 characters. The comment can't be edited after the order is placed.


---

# 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:

```
GET https://trader-docs.b2trader.b2broker.com/widgets/open-positions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
