> 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/dca/tutorials/creating-a-dca-order.md). Agents can also search and read this documentation through its [MCP server](https://docs.aftermath.finance/~gitbook/mcp).

# Creating a DCA order

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2FlDkaqPRUJxkuNfPviAkw%2FDCA.mp4?alt=media&token=e954c59b-ed23-4fa1-bcf3-7e31d4b9fbc7>" %}

## Create your Order

<figure><img src="https://3284144787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2Fgit-blob-0338edbea11c31e87da4d0ea889826f92b0e4e70%2Fdca-card.png?alt=media" alt=""><figcaption><p>Aftermath DCA interface</p></figcaption></figure>

**Sell:** The coin in your wallet that you want to swap into a different coin. Enter the **total** amount you want to trade over the whole DCA order.

**Buy:** The coin you want to swap into.

**Every:** How often trades occur. Set the time between trades in **Minutes**, **Hours**, **Days**, or **Weeks**.

**Orders:** The total number of trades the DCA order is split into.

Below the fields, the summary shows the amount sold in each trade (**Sell Per Order**), the coin you are **Buying**, **Total Orders**, the **Duration** of the whole order, and the **Slippage** tolerance used for each trade. Click the slippage value to change it.

## Place your Order

After reviewing your order, click **Create DCA Order** and approve the transaction in your wallet. When the order is created, a **DCA order created** summary shows what you are **Selling** and **Buying**, the **Total Orders**, and the amount sold per order.

The order sets aside 0.05 SUI per trade to pay for gas. The card shows this as the gas deposit before you create the order. For example, a DCA order with 10 trades sets aside 0.5 SUI (0.05 SUI per trade x 10 trades) in addition to the funds deposited for trading. Once the order completes or is cancelled, you get back whatever the trades didn't spend on gas.

Next: [monitoring your order's progress](https://docs.aftermath.finance/trade/dca/tutorials/monitoring-dca-progress.md).
