Automatic position sizing in MagicTradeBot significantly reduces the risk of liquidation caused by aggressive DCA scaling, but it cannot eliminate the risk entirely. It ensures that each trade’s total exposure is capped relative to your account balance, preventing runaway DCA orders from consuming too much capital.
🔹 1️⃣ How It Helps Prevent Liquidation
Capped Total Exposure
- The
total_percent_investment_per_tradesetting ensures that the sum of the initial order and all DCA layers does not exceed a predefined portion of your balance. - This prevents a single trade from overcommitting your capital, which is a common cause of liquidation in margin or futures trading.
- The
Dynamic Scaling of DCA Orders
- Automatic sizing adjusts DCA order amounts to fit within the allowed exposure
- Even if your DCA sequence has a high
size_multiplier, the bot scales orders proportionally to avoid exceeding your risk limit
Independent Trade Management
- Each symbol’s DCA sequence is calculated independently, so multiple trades triggering at the same time won’t inadvertently increase exposure per trade beyond safe limits
🔹 2️⃣ Limitations
Market Volatility
- Extreme price swings can still cause liquidation if leverage is high or if market gaps bypass stop-loss levels.
Incorrect Settings
- Misconfigured
max_orders,size_multiplier, or excessive leverage can still lead to risk of liquidation despite automatic sizing.
- Misconfigured
Risk Is Mitigated, Not Eliminated
- Automatic position sizing reduces the likelihood of liquidation but does not guarantee complete protection against catastrophic market movements.
🔹 3️⃣ Practical Example
Account Balance: $1,000 DCA Settings:
auto_calculate_initial_amount: true
total_percent_investment_per_trade: 5
max_orders: 3
size_multiplier: 2
leverage: 5
- Maximum exposure per trade = $50
- Initial order = $12.50, DCA 1 = $16.25, DCA 2 = $21.25
- Total exposure = $50 → safely within the 5% limit
Even with 5× leverage, your capital at risk remains controlled, reducing the chance of liquidation compared to manually scaling DCA orders.
🔹 4️⃣ Key Takeaways
- Automatic position sizing reduces liquidation risk by capping total exposure for each trade
- Orders are scaled dynamically to prevent runaway DCA growth
- High leverage or extreme volatility can still lead to liquidation — risk management rules like max loss per trade are essential
- Ideal for both beginners and advanced traders seeking controlled DCA execution
In short, automatic sizing protects your account from excessive DCA scaling, making liquidation far less likely, but cannot completely eliminate the risk.
📎 Related Topics
- ¿Qué es el cálculo automático del tamaño de la posición DCA en MagicTradeBot?
- Why is position size calculation important when using DCA strategies?
- How does this feature differ from fixed initial trade amounts?
- Does this setting reduce risk when using multiple DCA orders?
- Is this feature suitable for both beginners and advanced traders?