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

# Swap

<figure><img src="https://3435281907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlT01YkP0j8PnJVyRoN66%2Fuploads%2Fcc7lOVyK8raIvi0FGzIV%2Fimage.png?alt=media&amp;token=a6bf44b1-ff49-4d21-8fa0-5cfa298a8548" alt="" width="280"><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 ALP pool relative to a pre-determined percentage.&#x20;

The range of fee rates varies from \[0.01%, 0.1%].&#x20;

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 ALP pool, so it will only charge a very small fee in such circumstances.
