Binance Spot DCA Parameters

Published on 2023-05-24 11:09

What is a Spot DCA?

Dollar-Cost Averaging (DCA) is an investment strategy that involves buying and selling an equal amount of assets regularly at different price points. It aims to achieve a better average price for the selected trading pair and reduce the impact of market volatility. 

You can use Binance’s Spot DCA feature to automatically buy or sell a chosen amount of assets at a designated price deviation at a desired frequency.

image

*Risk Warning: The above parameter settings and calculations are for reference only. The effectiveness of a price difference, i.e., the trigger for a Spot DCA order, may vary depending on the trading pair you choose. The information presented here does not constitute financial or investment advice by Binance. All trading strategies are used at your discretion and at your own risk. Crypto trading carries a substantial risk and the possibility of both significant profits and losses. Binance shall not be liable to you for any loss that might arise from your use of Spot DCA. We strongly recommend you set stop-trigger orders in advance to prevent uncontrollable market movements from causing irreparable losses.

Differences between Spot Grid and Spot DCA

 Spot GridSpot DCA
GoalMake profits on small price changes in volatile marketsAchieve a better average price and reduce the impact of volatility
StrategyQuantitative trading, a strategy that involves buying or selling assets at preset intervals within a configured price rangeDollar-Cost Averaging (DCA), a strategy that involves buying and selling an equal amount of assets regularly at different price points
Trading/Orders RationaleEach entry is paired with an individual exitMultiple entries, single exit
Trading Bot FrequencyDepends on the number of grids you set between the interval upper and lower limits.
In the arithmetic mode, each grid has an equal price difference. In the geometric mode, each grid has an equal price difference ratio.
Depends on the number of DCA orders triggered by the price deviation percentage.

Spot DCA parameters 

1. Price Deviation
Price Deviation refers to the price difference percentage that triggers DCA orders. You can set the price difference from 0.1% to 15%. For example, if you set 5%, this means that the bot will set a buy or sell order for every 5% change from the base order in the selected trading pair. 

2. Take Profit
Take Profit refers to the target profit percentage based on the average price (before the trading bot ends). 

  • [Fix] is selected by default. Once the position increases by the take-profit percentage, the TP Order will close the position, and the bot will end this round. For example, you set the take profit as 5%. Once your profit reaches 5%, the bot will automatically end the round.
  • If you select [Trailing], it will lock the profit by enabling the trading bot to remain open and continue to profit as long as the price moves in the selected direction and mode. When the trading bot moves in the opposite direction by a specific percentage, it will trigger an order and the bot will end this round. Note: [Trailing] may not be available for certain trading pairs.

3. Investment Amount Calculation

Base Order Size + DCA Order Size*(1+ DCA order size multiplier^1 ... DCA order size multiplier^(Max DCA Orders-1))  
Note: The amount will be transferred from your Spot Wallet to your Tradings Bots Wallet and solely for this trading bot.

3.1 Base Order

The base order will be filled immediately upon starting Spot DCA if the price trigger is empty. You can customize the investment amount for the base order. For example, if you enter 100,000 JPY as the investment amount, your base order will be at most 100,000 JPY (including the trading fees). 

3.2 DCA Order

DCA orders are the subsequent orders that will be filled when the price reaches the designated price deviation. You can customize the investment amount for your DCA orders. For example, if you enter 100,000 JPY as the investment amount, each subsequent DCA order will be at most 100,000 JPY (including the trading fees).

4. Max DCA Order

The maximum number of DCA orders that will be placed per round.
Advanced settings parameters

  • Trigger Price: The price of the token that will trigger the trading bot to start. If left blank, the last price will be used as the trigger price.
  • Price Deviation Multiplier: Multiply the price difference in the percentage at which DCA orders will be placed starting from the second entry. By default, this parameter equals 1, which means each additional entry will equal the Price Deviation %. Otherwise, the multiplier will take effect between each additional entry. 
    For example, you are on the buy side and open a long position at ¥30,000 for a BTC/JPY pair, with a Price Deviation of 1% and the Price Deviation Multiplier of 2.
    • Base Order =  ¥30,000
    • DCA #1 = Base Order  - 1%  = ¥29,700
    • DCA #2 = DCA #1 - 1% * 2  =  ¥29,100 (Base order - 3%)
    • DCA #3 = DCA #2 - 1% * 2 * 2 =  ¥27,900  (Base order - 7%)
  • DCA Order Size Multiplier: Multiply the subsequent DCA Order investment amount(s). By default, this parameter equals 1, which means each additional entry will equal the DCA Order amount. Otherwise, the multiplier will take effect from the second DCA order onwards (The first DCA order remains default after the bot has started).
    For example, your DCA order is 100,000 JPY, and your DCA Order Size Multiplier is set to 2. When the price reaches the designated price deviation, each additional entry will be multiplied.
    • DCA #1 = 100,000 JPY = 100,000 JPY
    • DCA #2 = 100,000 JPY * 2 = 200,000 JPY
    • DCA #3 = 100,000 JPY * 2 * 2  = 400,000 JPY
  • Cooldown between Rounds: The rest period between each round. By default, the cooldown between rounds is 60 seconds.
  • Lower and Upper Price Range: A price range of the selected token’s base order that the trading bot will only execute within.

Note: For successive rounds, the base order executed may deviate from the price range due to market volatility. 

  • Stop-Loss: A stop-loss percentage that triggers the trading bot to stop the round.
  • End the bot once stop-loss is triggered: Once the stop-loss percentage is reached, the bot will end itself and end the round.

5. Spot DCA Profit Types

Total Profit (Total Profit / Total Investment)

[Buy Token] mode

  • Calculation: (Current Base Asset - Start Base Asset ) * Last Price + (Current Quote Asset - Start Quote Asset)

[Sell Token] mode

  • Calculation: (Current Base Asset - Start Base Asset ) + (Current Quote Asset - Start Quote Asset ) / Last Price

Total Profit % = Total Profit / Total Investment (2 d.p.) (Regardless of mode)

DCA Profit (Sum of DCA Round Profits)

  • Unit: Quote Asset for [Buy Token] mode, Base Asset for [Sell Token] mode

DCA Profit % = DCA Profit / Total Investment (2 d.p.)

Floating Profit (Total Profit - DCA Profit)

  • Unit: Quote Asset for [Buy Token] mode, Base Asset for [Sell Token] mode

DCA Profit % = Floating Profit / Total Investment (2 d.p.)

Round Profit

[Buy Token] mode (Unit: Quote Asset)

  • Calculation: (Total Take Profit - Fee) - Total DCA Order(s) - Total Base Order

[Sell Token] mode (Unit: Base Asset)

  • Calculation: (Take Profit Executed - Fee) - DCA Order(s) Executed - Base Order Executed

Spot DCA examples

You can use Spot DCA to automatically buy or sell a fixed amount of assets at a designated price deviation at a desired frequency. Let’s use BTC/JPY as an example. 

Buy-side example

Suppose your trading bot parameters are set as follows:

  • Price Deviation: 5%
  • Take Profit: 10%
  • Base Order: 100,000 JPY
  • DCA Order: 100,000 JPY
  • Max DCA: 2 orders

Using the above parameters, you need to invest 300,000 JPY (100,000 + 100,000 * 2 = 300,000 JPY).

You start Spot DCA by buying 100,000 JPY worth of BTC. Suppose BTC is at 3,000,000 JPY, you will get 0.0333 BTC. After that, the BTC price changed by 5% from the base order. The bot will buy more BTC by placing DCA orders up to 2 times based on the Max DCA you set (100,000 JPY per order). The bot will continue to run until it reaches the target take-profit percentage (10%).

Current BTC PriceChanges in BTC Holding (4 decimal places)Total BTC Holding (4 decimal places)JPYper OrderTotal JPYSpent
3,000,000 JPY+ 0.0333 BTC0.0333 BTC- 100,000 JPY100,000 JPY
2,850,000+ 0.0351 BTC0.0684 BTC- 100,000 JPY200,000 JPY
2,700,000 JPY+ 0.0370 BTC0.1054 BTC- 100,000 JPY300,000 JPY
3,129,200 JPY- 0.1054 BTC0 BTC+ 330,000 JPY

-

Round Profit+ 30,000 JPY*
*Please note that the above example does not include prevailing trading fees. Figures are simplified and may be subjected to rounding errors.

 

Order TypePrice DeviationCurrent BTC PriceAverage Price of BTC HoldingTotal JPY Spent
Base Order--3,000,000 JPY3,000,000100,000 JPY
DCA Order #1Drop 5% from the base order2,850,000 JPY2,925,000 JPY200,000 JPY
DCA Order #2Drop 10% (5% + 5%) from the base order 2,700,000 JPY2,850,000 JPY300,000 JPY
Take ProfitIncrease 10% from the average price3,129,200 JPY----
Round Profit+ 30,000 JPY*

*The bot will continue to run until it reaches the target take-profit percentage (10%). In this example, the bot will end when this round completes. 

Please note that the above example does not include prevailing trading fees. Figures are simplified and may be subjected to rounding errors.

Sell-side example

Suppose your trading bot parameters are set as follows:

  • Price Deviation: 5%
  • Take Profit: 10%
  • Base Order: 0.033 BTC
  • DCA Order: 0.015 BTC
  • Max DCA: 2 orders

Using the above parameters, you need to invest 0.0999 BTC (0.0333 + 0.0333 * 2 = 0.0999 BTC)

You start Spot DCA by selling BTC for JPY For example, you sold 0.03 BTC at $30,000 for 100,000 JPY. With every 5% change in the BTC price from the base order, the bot will continue to sell more BTC for JPY up to 2 times based on the Max DCA you set and/or until it reaches the target take-profit percentage (10%). 

Current BTC PriceChanges in JPY HoldingTotal JPY ReceivedChanges in BTC Holding (3 decimal places)
3,000,000 JPY+ 100,000 JPY 100,000 JPY - 0.0333 BTC
3,150,000 JPY+ 104,895 JPY204,895 JPY- 0.0333 BTC
3,300,000 JPY+ 109,890 JPY 314,785 JPY - 0.0333 BTC
2,835,000 JPY- 314,785 JPY 0 JPY+ 0.110 BTC
Round Profit+ 0.010 BTC* (+10%)
*Please note that the above example does not include prevailing trading fees. Figures are simplified and may be subjected to rounding errors. 

 

Order TypePrice DeviationCurrent BTC PriceAverage Price of BTC HoldingTotal JPY Spent
Base Order--3,000,000 JPY3,000,000 JPY- 0.0333 BTC
DCA Order #1Increase 5% from the base order3,150,000 JPY3,075,000 JPY- 0.0333 BTC
DCA Order #2Increase 10% (5% + 5%) from the base order 3,300,000 JPY3,150,000 JPY- 0.0333 BTC
Take ProfitDrop 10% from the average price2,835,000 JPY--+ 0.110 BTC
Round Profit+ 0.010 BTC* 

The bot will continue to run until it reaches the target take-profit percentage (10%). In this example, the bot will end when this round completes. 

*Please note that the above example does not include prevailing trading fees. Figures are simplified and may be subjected to rounding errors.