> For the complete documentation index, see [llms.txt](https://docs.mmex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mmex.io/for-traders/start-trading/swap.md).

# Swap

<figure><img src="https://335739637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmcrTVxuwPyhbtA1dLlxx%2Fuploads%2F5Twb4X6ttNQX1TdzjiZf%2FScreenshot%202024-11-25%20at%2021.21.29.png?alt=media&amp;token=2422e5c5-f378-4323-827b-2d94a11cb5bc" alt="" width="337"><figcaption></figcaption></figure>

The swap function is as easy to use as any other defi protocol swap and users can choose any two index assets to swap.

**Swap fee**

The swap fee is a range of rates depending on whether the asset you are swapping is overweight or underweight in the MMLP pool relative to a pre-determined percentage.

The range of fee rates varies from \[0.01%, 0.1%].

For example, suppose the pre-set percentage of ETH is 35% and the current total ETH position is approximately 37%. On the other hand, the pre-determined proportion of USDT is 25%, but the current USDT has a proportion of only 20%. If you use USDT to exchange ETH, this means that you are helping to rebalance the MMLP pool, so it will only charge a very small fee in such circumstances.
