# RoE and Trade Interface Layout

## Trade Layout

The PnL/RoE indicator visualization in the interface switch can be performed by changing the toggle on the '[Settings](https://margex.com/app/settings)' page of your Margex account.

* In order to switch between layouts, first, proceed to the '[Settings](https://margex.com/app/settings)' page of your Margex account:

<figure><img src="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FUONB2wGrApdEXqH0DYiF%2Fsettings.png?alt=media&#x26;token=0c4dfdc3-3bb0-47b1-b2ba-02f57cc99b52" alt=""><figcaption></figcaption></figure>

* From there, press on the 'Trade Layout' switch:

<figure><img src="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FvylABYNOQcs59MYg8CPZ%2Ftrade%20layout.png?alt=media&#x26;token=d0456ae9-a6b3-4347-adc2-ffe0a1511909" alt=""><figcaption></figcaption></figure>

From now on, the RoE indicator would be reflected in your 'Trading Module' as the evaluation of your positions' performance.

## What is RoE and how it's calculated?

**Return on Equity** (ROE%), is an indicator which reflects the current **NET** performance of an open trade.

* <mark style="color:green;">Positive</mark> ROE means that the trade is currently profitable
* <mark style="color:red;">Negative</mark> ROE means that the trade is currently at a net loss currently

<figure><img src="https://163304092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0u2JKWHQTXEH82Px1eQ%2Fuploads%2FXkHaYwjLwupomQ5qIhiC%2FRoE.png?alt=media&#x26;token=4ad398fe-67f5-4342-97d6-94b0e70ad628" alt=""><figcaption></figcaption></figure>

ROE is calculated based on the trader’s **margin reserved for a trade**, using the following formula:

* **ROE%** = (Unrealized PnL + Realized PnL - CloseOrderCommission) / Margin

For example, if a trader has used $100 as Margin for a position, a ROE value of +20% will mean that the trade is essentially at a net profit of $20.

{% hint style="success" %}
ROE always takes into account not only the flat PnL from the price movement of the asset being traded - but also any associated [trade fees and funding](https://margex.com/margex-fees).\
\
When initially opening a position, the ROE% indicator will show a negative value. This is due to the ROE% indicator taking into account the opening and closing trade fees which are incurred for the position.

This provides traders with a fully transparent and precise ROE indicator.
{% endhint %}
