Creating a DCA order
Create your Order
Creating a new DCA order on Aftermath is simple. Here we will walk through the steps of setting up a basic order. In the following sections, we will explore some of the further customizations which can be made if desired. We will discuss each field and what they mean to ensure the user sets their parameters for their desired outcome.
I want to allocate: This is the coin you currently possess in your wallet, which you want to swap into a different coin. The amount you enter here should be the total amount you wish to trade over the entire duration of your DCA order.
To buy: The coin you wish to swap into.
Every: This is the frequency at which you want the trades to occur. You can demoninate the time duration between trades in minutes, hours, days, weeks, or months.
Over ___ orders: This is the total number of trades you wish your DCA order to be broken up into. The amount of the allocated token which will be sold each order is calculated for you and displayed below for you to review.
Review your Order
Prior to placing your DCA order, you can review each of the parameters to ensure they are to your satisfaction. We'll review what each of these parameters mean:
Sell Total: This is the amount you entered into the I want to allocate field above. It represents the total amount of of the specified coin which will be sold after the entire DCA trade has elapsed.
Sell Per Order: This is the Sell Total divided by the specified number of trades, which was specified in the Over ___ orders field above.
Order Interval: This is the frequency at which trades will be executed, which was specified in the Every field.
Trades Amount: The total number of trades in your DCA order, specified in the Over field above.
Start Date: When your DCA order will begin executing. If you would like to set a delay, it will be displayed here. How to set a delay is discussed in the next section of the DCA documentation.
Estimated End Date: The total amount of time your DCA order should take to complete, based upon the frequency and number of orders specified. End Date is estimated as it is possible to set a strategy which can cause orders to be skipped if they do not meet certain criteria, which is discussed further in the next section of the documentation.
Slippage: The maximum allowable slippage for a trade to execute. Slippage tolerance can be set by clicking the button at the bottom right of the DCA parameter review window, as seen in the image above.
Strategy: A minumum and maximum exchange rate can be specified, conditions of which must be met in order for the trade to execute. This is discussed further in the next section of the documentation, but for a basic DCA order it will state None.
Recipient: It is possible to send the output of each trade to an address other than the one from which the DCA order was initiated, if desired. This is discussed in more detail in the following section, but if you have not selected this option, this field will state You, indicating the output coins will be sent to the same wallet from which you are creating this order.
Place your Order
Once you have reviewed your order and the parameters are all to your satisfaction, click the Create Order button. You will be asked to sign a transaction to create a new DCA account, and to approve a transaction to fund it.
Sign and Approve the transactions, and your DCA order will commence. In the next section, we will review monitoring the progress of your order.
In order to ensure each trade is processed, 0.05 SUI is set aside per transaction to pay for gas. For example, if you create a DCA order with 10 total trades, 0.5 SUI (0.05 SUI per trade x 10 trades) will be charged in addition to the funds deposited for trading. The difference between the gas deposit and the actual cost of the transaction when finalized is refunded to the user once the order is deleted or cancelled.
Last updated