# Open positions

## Summary

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

<figure><img src="https://3809883000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nDTeWRBfWeQuJ1QN8Tw%2Fuploads%2Fgit-blob-ac7c6b58cc697059c720a2cb3f56f13047cf7a43%2Fwidget-open-positions.png?alt=media" 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](https://trader-docs.b2trader.b2broker.com/widgets/closed-positions) 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](https://trader-docs.b2trader.b2broker.com/knowledge-base/price-triggers) 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](https://trader-docs.b2trader.b2broker.com/knowledge-base/price-triggers) 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.
