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

# Swap Trading

Drawing on the proven mechanics of Uniswap, XEI utilizes automated market maker (AMM) protocols to facilitate fluid and efficient token swaps, ensuring liquidity and reducing slippage.

Inspired by Uniswap V3, this feature allows liquidity providers to allocate their funds to specific price ranges, optimizing their capital efficiency and potentially earning greater returns on their staked assets.

Innovating beyond traditional DEX capabilities, XEI supports limit orders, enabling traders to specify the price at which they wish to buy or sell a token, thus offering greater control over trading strategies and risk management.

<figure><img src="/files/70ND0bCq3BVI7Ee0wBL8" alt=""><figcaption></figcaption></figure>


---

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

```
GET https://docs.xei.finance/feature-description/swap-trading.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.
