> For the complete documentation index, see [llms.txt](https://help.margex.com/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.margex.com/help-center/ru/leverage-trading-guide/how-leverage-works/roe-calculation.md).

# RoE и Trade Layout

## Trade Layout

Визуализацию показателя PnL/RoE в интерфейсном переключателе можно выполнить, изменив соответствующий переключатель на странице "[Настройки](https://margex.com/app/settings)" вашей учетной записи Margex.

* Чтобы переключиться между режимами отображения, нажмите на иконку профиля и на кнопку "[Настройки](https://margex.com/app/settings)"

<figure><img src="/files/0go1NITm1gfBzzexUYtf" alt=""><figcaption></figcaption></figure>

* Затем нажмите на переключатель "Trade Layout":

<figure><img src="/files/yHuDjFlNa50ObxeGzPzE" alt=""><figcaption></figcaption></figure>

Теперь, в качестве оценки производительности ваших позиций в "Торговом Модуле" будет отражаться RoE.

## Что такое RoE и как он рассчитывается?

**Прибыль по собственному капиталу** или **ROE** (Return on Equity, или же ROI) — это показатель, отражающий текущую **ЧИСТУЮ** прибыль от открытой сделки.

* <mark style="color:green;">Положительное значение ROE</mark> означает, что сделка прибыльна
* <mark style="color:red;">Отрицательное значение ROE</mark> означает, что сделка в настоящее время убыточна

При расчёте RoE, также всегда учитываются не только движение цены базового актива, но и все [торговые комиссии и фандинг](/help-center/ru/margex/trading-conditions/margex-fees.md).

<figure><img src="/files/9O8pRsuIaFsEcXYVTvgG" alt=""><figcaption></figcaption></figure>

ROE рассчитывается на основе **зарезервированной маржи для сделки** трейдера с использованием следующей формулы:

* **ROE%** = (Нереализованный PnL + Реализованный PnL + Комиссия Закрытия Ордера) / Маржа

Например, если трейдер использовал **100 долларов в качестве маржи** для позиции, значение ROE +20% будет означать, что условная прибыль по данной сделке составляет на данный момент $20.

{% hint style="info" %}
При изначальном открытии позиции показатель ROE% будет отображать отрицательное значение. Это связано с тем, что показатель ROE% учитывает комиссии за открытие и закрытие сделки, которые возникают при открытии позиции, предоставляя более точное отражение текущего состояния сделки.
{% endhint %}


---

# 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://help.margex.com/help-center/ru/leverage-trading-guide/how-leverage-works/roe-calculation.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.
