> 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/pt/leverage-trading-guide/how-leverage-works/roe-e-layout-da-interface-de-negociacao.md).

# RoE e Layout da Interface de Negociação

## Layout de Negociação

A visualização do indicador de PnL/RoE na troca de interface pode ser feita alterando a chave na página '[Configurações](https://margex.com/app/settings)' da sua conta Margex.

* Para alternar entre os layouts, primeiro, acesse a página '[Configurações](https://margex.com/app/settings)' da sua conta Margex:

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

* A partir daí, pressione a chave 'Layout de Negociação':

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

A partir de agora, o indicador RoE será refletido no seu 'Módulo de Negociação' como a avaliação do desempenho das suas posições.

## O que é RoE e como ele é calculado?

**O retorno sobre patrimônio líquido** ou **ROE (ROI)** é um indicador que reflete o desempenho **LÍQUIDO** atual de uma negociação aberta.

* ROE <mark style="color:green;">positivo</mark> significa que a operação é rentável
* ROE <mark style="color:red;">negativo</mark> significa que a operação está em queda no momento

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

O ROE é calculado com base na **margem do trader reservada** para uma transação, utilizando a seguinte fórmula:

* **ROE%** = (PNL não realizado + PNL realizado - TaxaDeFechamentoDePosição) / Margem

Por exemplo, se um comerciante utilizou\*\* $100 como margem\*\* para uma posição, um valor ROE de mais de **+20%** significará que a operação está basicamente com um lucro de **$20**.

{% hint style="success" %}
O ROE leva sempre em consideração não apenas o lucro ou prejuízo direto da movimentação do preço do ativo sendo negociado, mas também quaisquer [taxas de negociação e financiamento associadas](/help-center/pt/margex/trading-conditions/margex-fees.md).\
\
Ao abrir inicialmente uma posição, o indicador ROE% mostrará um valor negativo. Isso se deve ao indicador ROE% levando em consideração as taxas de abertura e fechamento de negociação incorridas para a posição, fornecendo assim uma reflexão mais precisa do estado atual da negociação
{% 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/pt/leverage-trading-guide/how-leverage-works/roe-e-layout-da-interface-de-negociacao.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.
