# Trading Contribution Calculator

Traders are the critical driver of the protocol's income and growth. To convert their contribution into an actual return, AEE provides a dynamic fee distribution to traders according to their trading volume and PnL.

## Mechanism

In the calculator, N pool and X trader will be defined.&#x20;

N pool refers to the total amount of the distributed fee. To calculate it, the engine will take the TVL, Fee level and annualized level into consideration. To balance the impact, a min level of 5% will be set.

X trader refers to the percentage of traders who can be enrolled into the fee distribution. To balance the impact, a max level of 5% will be set. According to the trader's personal trading volume, X% of the most active trader will enjoy the distribution.

The formula is as follows:

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

According to the formula, there will have more traders and personal fee distribution as the Fee/TVL increase which means traders can enjoy the growth of the protocol.

1. Reduce the trader’s loss

The Trading Contribution Calculator mechanism helps alleviate the financial burden of trading losses for users on the PEX platform. By offering support through the distribution of protocol income, traders are more likely to remain engaged with the platform and maintain their trading activities, even during challenging market conditions.

2. Encourage users to trade more

The Trading Contribution Calculator can instil confidence in traders to continue their activities on the platform. As the impact of losses is minimized, traders may be more inclined to refine their strategies, experiment with new markets, and trade more frequently. This can result in higher trading volumes, which benefit the platform and the $PEX ecosystem by attracting new users and creating a more robust market environment.


---

# Agent Instructions: 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:

```
GET https://whitepapercrypto.gitbook.io/pex/auto-equilibrium-engine-aee/aee-mechanism/trading-contribution-calculator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
