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_percentspecifies 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
- Parent Position: Initial order placed at market price.
- Grid Orders: Each subsequent DCA order triggers when price moves down by
deviation_percentfrom the previous filled order. - 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
max_orders- Determines how many grid orders can execute
- Smaller deviation_percent fills more orders faster → max_orders may be reached quickly
order_percent- Determines capital allocated per order
- Tighter grids with higher order_percent increase exposure faster
interval_minutes- Limits speed of consecutive order execution
- Works with deviation_percent to prevent rapid overexposure
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.
6. Recommended Usage
| 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
deviation_percentdefines the spacing between DCA/grid orders, controlling how frequently capital is deployed.- Smaller deviation → faster average entry improvement, lower drawdown, higher capital usage.
- Larger deviation → slower recovery, lower exposure per order, higher drawdown relative to average entry.
- Works together with order_percent, max_orders, interval_minutes, and multipliers for effective risk management.