Introducing the Spot Dollar-Cost-Averaging (DCA) Bot | Beginners Tutorial| OKX Academy

Here’s how our latest trading bot allows you to fine tune your Dollar-Cost Averaging (DCA) strategy. 👇

What’s Dollar-Cost-Averaging (DCA)?

Dollar-Cost Averaging (DCA) is a strategy traders use to buy specific assets at set intervals, in order to split their allocation at multiple price levels. If the market moves against their initial trade, this strategy allows them to get a better entry price. They can then close their position as soon as their Take Profit target has been reached.

Start trading

What’s the difference between DCA and recurring buys?

People often use the terms “DCA” and “recurring buy” interchangeably but they’re not exactly the same thing. The main difference between DCA and recurring buys is that the first is more flexible:

  • Recurring buys imply investing a fixed amount in an asset at fixed intervals (daily, weekly or monthly), regardless of market movements.
  • DCA allows controlling the buying price, since buying orders can be triggered when the price drops by a fixed percentage and selling orders can be triggered when the market recovers and reaches one’s take-profit target.

Learn more

How the DCA bot works

Users begin the trading cycle by selecting their risk profile via a series of parameters (or choosing from conservative, moderate, and aggressive pre-set parameters).

The strategy will start with an initial order that is programmed to execute a certain number of times. If the asset price drops by a designated percentage, the bot will execute a second trade that is a multiple of the first order. This cycle is repeated until the price reaches the maximum order count, the take profit level, or the stop loss level, as defined by the user. If the Take Profit target is reached, then the bot will run the next trading cycle.

Traders who believe the price of an asset will increase in the future tend to use this strategy to increase the size of their position — even if it is temporarily declining in value. They use the DCA approach to buy when they think the price is low and sell when they think it’s high.

For that reason, they tend to use it during volatile (significant but short-lived movements) markets, as well as in sideways markets they think will experience short-term rebounds.

The DCA strategy is well-known to traders but our bot offers them a few features that make it truly special:

  • Enhanced AI Strategy. The bot uses backtested parameters as well as characteristics of the token (e.g., historical volatility) to determine the optimal parameters for each pair (including risk profile).
  • Flexible start conditions. The bot allows users either to enter their position or to select their entry time using technical indicators (such as the Relative Strength Index or “RSI”).
  • Continuous trading cycles. The bot can run throughout trading cycles indefinitely, continue trading from dip-to-rebound thanks to safety orders (the bot will place orders after you have opened the position to average your buy price if the assets go in an “unfavorable” direction), and/or start new cycles after achieving the Take Profit target defined for each cycle. 
  • High fund utilization rate. For investors who select a high volume multiplier, or traders who prefer not to pre-occupy all funds that will be potentially used by the bot, our DCA bot offers them the flexibility to reserve only the minimum necessary funds (Initial Order + First Safety Order) upon creation, and transfer funds later when needed. 

What are DCA’s trading cycles?

DCA works in a continuous investment mode. A complete trading cycle must include an Initial Order and a Take Profit Order.

The “Take Profit per Cycle” order refers to the percentage of profit the trader hopes to earn for each trading cycle. A trading cycle ends when this take profit target is met. For example, if a trader sets a 10% take profit target and its average position cost is 1,000 USDT then, when the price reaches 1,100 USDT, the trading cycle will end.

Things are similar for the stop loss target. The Stop Loss price can be calculated this way:

Initial Order Average Filled Price * (1 – Stop Loss Target)

Once this Stop Loss price is triggered, then the entire strategy will end and the bot will not automatically start a new trading cycle.

Get started

How to use the DCA Bot on OKX

  1. On OKX’s navigation bar, hover over Trade and then click on Trading bot.
  2. The different trading bot strategies we offer will be listed here. Click on DCA Bot.
  1. Select AI Strategy then you will be allowed to choose between conservative, moderate, and aggressive risk profiles. You’ll then be able to enter the amount you want the bot to trade with. By clicking Create, the DCA bot will start functioning with pre-set parameters.
  1. Select Set myself if you want to set the parameters yourself. Enter the parameters such as the percentage of price steps, the take profit target per cycle, the initial and safety order amount, and the maximum number of safety orders.
  2. If you want the bot to start entering a new trading cycle immediately upon creation or upon the completion of a previous trading cycle, select Instant. If you prefer the bot to be triggered by a given signal, you will be able to leverage technical indicators like RSI to time the entry for each DCA trading cycle.
  3. Check the details on your order in the Order Confirmation window. If you want to proceed, click Confirm.
  1. When you’ve deployed the DCA bot, you can review the position in the trade history section at the bottom of the Trading bot home screen.
  1. Scroll down, click Bots and then click DCA. For more details on an open position, click Details next to it. It will display detailed information.

Get started

THIS ANNOUNCEMENT IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. IT IS NOT INTENDED TO PROVIDE ANY INVESTMENT, TAX, OR LEGAL ADVICE, NOR SHOULD IT BE CONSIDERED AN OFFER TO PURCHASE OR SELL DIGITAL ASSETS. DIGITAL ASSET HOLDINGS, INCLUDING STABLECOINS, INVOLVE A HIGH DEGREE OF RISK, CAN FLUCTUATE GREATLY, AND CAN EVEN BECOME WORTHLESS. YOU SHOULD CAREFULLY CONSIDER WHETHER TRADING OR HOLDING DIGITAL ASSETS IS SUITABLE FOR YOU IN LIGHT OF YOUR FINANCIAL CONDITION.

Source: https://www.okx.com/academy/en/introducing-the-spot-dollar-cost-averaging-dca-bot