> For the complete documentation index, see [llms.txt](https://docs.b2copy.b2broker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2copy.b2broker.com/admin-guide/configure-b2copy/configure-the-performance-fee-calculation-settings.md).

# Configure the performance fee calculation settings

The performance fee can be calculated as one of the following:

* The percentage of net profit on a subscribed investment account, taking into account the sum of Realized PnL and Floating PnL.
* The percentage of net profit on a subscribed investment account, taking into account Realized PnL.
* The percentage of net profit on a subscribed investment account, taking into account the sum of Realized PnL and negative Floating PnL.

Moreover, when calculating net profit using any of these approaches, it is possible to consider the amount of the paid trade fee as the loss incurred on a subscribed investment account.

{% hint style="info" %}
The High-Water Mark principle is used when calculating the performance fee, meaning that the performance fee is paid only from the net profit increment on an investment account.
{% endhint %}

Configure the performance fee calculation settings:

{% stepper %}
{% step %}
Go to **Investment Platform** and expand the required platform instance.
{% endstep %}

{% step %}
Expand **Settings**, and select **Fees Settings**.
{% endstep %}

{% step %}
Go to **Performance Fee**.

<figure><img src="/files/GtGgftJstkrHwbEcnzyN" alt="Fee Settings"><figcaption><p>Fee Settings</p></figcaption></figure>
{% endstep %}

{% step %}
In the **Calculation Formula** dropdown, select one of the following options:

* **Based on sum of float and realised PnL** – to calculate the fee based on the sum of Realized PnL and Floating PnL, both of which are calculated against the positions copied to an investment account from a specific master account.
* ‍**Based on realised PnL** – to calculate the fee based on Realized PnL, which is calculated against the positions copied to an investment account from a specific master account.
* **Based on realised PnL with floating loss** – to calculate the fee based on the sum of Realized PnL and negative Floating PnL, both of which are calculated against the positions copied to an investment account from a specific master account.
  {% endstep %}

{% step %}
In the **Trade fee accounting** dropdown, select either of the two options:

* **Consider Trade fee as loss** – to consider the amount of the paid trade fee as the loss incurred on a subscribed investment account.
* ‍**Exclude Trade fee from calculation** – to ignore the trade fee when calculating the performance fee.
  {% endstep %}

{% step %}
Click **Save** to apply the changes.
{% endstep %}
{% endstepper %}

### **Example 1**

Suppose that the performance fee is configured to be calculated based on the sum of Realized PnL and Floating PnL and the trade fee is excluded from calculations:

`Performance fee = (Current Total PnL - Previous Total PnL) * Fee%/100`

where:

* **Current Total PnL** is the sum of Realized PnL and Floating PnL, which is calculated at the moment of fee payment against the positions copied from a specific master account.
* **Previous Total PnL** is the sum of Realized PnL and Floating PnL, which is calculated at the moment of the previous successful fee payment against the positions copied from a specific master account.
* **Fee%** is the performance fee percentage specified in a fee plan.

According to the High-Water Mark principle, the performance fee is paid only if **Current Total PnL** is greater than **Previous Total PnL**.

### **Example 2**

Suppose that the performance fee is configured to be calculated based on the sum of Realized PnL and Floating PnL and the paid trade fee is considered as a loss:

`Performance fee = ((Current Total PnL - Paid trade fee) - Previous Total PnL) * Fee%/100`

where:

* **Current Total PnL** is is the sum of Realized PnL and Floating PnL, which is calculated at the moment of fee payment against the positions copied from a specific master account
* **Paid trade fee** is the amount of the paid trade fee.
* **Previous Total PnL** is the sum of Realized PnL and Floating PnL, which is calculated at the moment of the previous successful fee payment against the positions copied from a specific master account.
* **Fee%** is the performance fee percentage specified in a fee plan.

According to the High-Water Mark principle, the performance fee is paid only if **Current Total PnL - Paid trade fee** is greater than **Previous Total PnL**.


---

# 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://docs.b2copy.b2broker.com/admin-guide/configure-b2copy/configure-the-performance-fee-calculation-settings.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.
