What is deviation_percent?

In a Grid DCA strategy, deviation_percent is a key parameter that determines the percentage price difference between consecutive DCA or grid orders. It essentially controls grid spacing, which affects average entry, drawdown, capital deployment, and risk exposure.

Here’s a detailed explanation.


1. Definition of deviation_percent

  • deviation_percent specifies how far the next DCA order should be placed from the previous filled order or the parent position, expressed as a percentage of price.
  • It sets the distance between grid levels, creating a structured entry ladder for averaging down.

Example:

  • Current price: $100
  • deviation_percent = 2% → next grid triggers at $98
  • Next grid after that: $96.04 (2% from $98)
  • With deviation_percent = 5% → next grid at $95 → $90.25 → $85.74 …

2. How deviation_percent Works in Grid DCA

  1. Parent Position: Initial order placed at market price.
  2. Grid Orders: Each subsequent DCA order triggers when price moves down by deviation_percent from the previous filled order.
  3. Final DCA (optional): May trigger after the last grid, often with a larger multiplier, but its trigger price still follows deviation_percent spacing.

Illustration:

Order Trigger Price Notes
Parent $100 Initial entry
Grid 1 $98 deviation_percent = 2%
Grid 2 $96.04 2% below previous
Grid 3 $94.12 2% below previous

3. Effect on Drawdown

✅ Smaller deviation_percent (Tighter Grid)

  • More frequent DCA entries → average entry drops faster
  • Lower drawdown relative to average entry
  • TP triggers sooner because weighted average is closer to market price
  • Trade-off: More capital deployed quickly and higher cumulative fees

✅ Larger deviation_percent (Wider Grid)

  • Fewer DCA orders fill during a decline
  • Average entry declines more slowly → higher required recovery percentage
  • Drawdown relative to average entry is larger
  • Benefit: Conserves capital, fewer trades, lower fees

4. Interaction With Other Parameters

  1. max_orders

    • Determines how many grid orders can execute
    • Smaller deviation_percent fills more orders faster → max_orders may be reached quickly
  2. order_percent

    • Determines capital allocated per order
    • Tighter grids with higher order_percent increase exposure faster
  3. interval_minutes

    • Limits speed of consecutive order execution
    • Works with deviation_percent to prevent rapid overexposure
  4. Multipliers / Final DCA

    • Multipliers amplify the impact of deviation_percent on total capital deployed

5. Risk Considerations

  • Tighter deviation_percent (small %)

    • Reduces drawdown and required recovery percentage
    • Increases capital deployment rate
    • Higher trading fees
  • Wider deviation_percent (large %)

    • Slower average entry improvement
    • Drawdown can be higher relative to average entry
    • More conservative capital usage

Tip: Choose deviation_percent according to market volatility, leverage, and capital allocation.


Market Type Suggested deviation_percent
Spot, low volatility 1–3%
Leveraged trades 2–5%
Highly volatile coins 3–6%
  • Combine with interval_minutes and max_orders to avoid rapid overexposure.

7. Key Takeaways

  1. deviation_percent defines the spacing between DCA/grid orders, controlling how frequently capital is deployed.
  2. Smaller deviation → faster average entry improvement, lower drawdown, higher capital usage.
  3. Larger deviation → slower recovery, lower exposure per order, higher drawdown relative to average entry.
  4. Works together with order_percent, max_orders, interval_minutes, and multipliers for effective risk management.

📎 Related Topics