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

# Trade

- [Smart-Order Router](https://docs.aftermath.finance/trade/smart-order-router.md): Find the best swap prices on Sui across any DEX, all in one place
- [Agg of Aggs](https://docs.aftermath.finance/trade/smart-order-router/agg-of-aggs.md): Directly compare multiple DEX aggregators in one place
- [Making a trade](https://docs.aftermath.finance/trade/smart-order-router/making-a-trade.md)
- [Exact Out](https://docs.aftermath.finance/trade/smart-order-router/exact-out.md): Calculate the best price, in reverse
- [Fees](https://docs.aftermath.finance/trade/smart-order-router/fees.md)
- [DCA](https://docs.aftermath.finance/trade/dca.md)
- [Why should I use DCA](https://docs.aftermath.finance/trade/dca/why-should-i-use-dca.md)
- [How does DCA work](https://docs.aftermath.finance/trade/dca/how-does-dca-work.md)
- [Tutorials](https://docs.aftermath.finance/trade/dca/tutorials.md)
- [Creating a DCA order](https://docs.aftermath.finance/trade/dca/tutorials/creating-a-dca-order.md)
- [Monitoring DCA progress](https://docs.aftermath.finance/trade/dca/tutorials/monitoring-dca-progress.md)
- [Advanced Features](https://docs.aftermath.finance/trade/dca/tutorials/advanced-features.md)
- [Fees](https://docs.aftermath.finance/trade/dca/fees.md)
- [Contracts](https://docs.aftermath.finance/trade/dca/contracts.md)
- [Limit Orders](https://docs.aftermath.finance/trade/limit-orders.md): Set the exact price you wish your trade to execute at
- [Contracts](https://docs.aftermath.finance/trade/limit-orders/contracts.md)
- [Fees](https://docs.aftermath.finance/trade/limit-orders/fees.md)


---

# 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.aftermath.finance/trade.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.
