In a Grid DCA strategy, interval_minutes is a critical risk-control parameter that defines the minimum time delay between consecutive DCA (grid) orders. It is designed to prevent rapid order stacking, which can lead to overexposure, excessive drawdown, or liquidation, especially in volatile or leveraged markets.
Here’s a detailed explanation.
1. Definition of interval_minutes
interval_minutesspecifies the minimum number of minutes that must pass before the next grid order can be executed.- It applies after a DCA order is filled — the bot will not trigger the next DCA order until the interval has elapsed, even if the price continues moving against the position.
Example:
interval_minutes = 10- First DCA order triggers at 10:00 → next DCA cannot trigger before 10:10
2. How It Works in Grid DCA
- Parent Position: Initial entry placed immediately.
- First Grid Order: Triggered when price moves down by
deviation_percent. - Subsequent Orders: Each must wait for
interval_minutesbefore being eligible to execute.
Illustration:
| Time | Price | Action |
|---|---|---|
| 10:00 | $100 | Parent entry |
| 10:01 | $98 | Grid 1 fills |
| 10:05 | $96 | Grid 2 blocked (interval not reached) |
| 10:11 | $96 | Grid 2 fills |
3. How interval_minutes Protects from Rapid Overexposure
✅ 1. Limits Consecutive DCA Orders
- Prevents multiple grid orders from triggering within seconds or minutes during a sudden market drop.
- Helps smooth capital deployment, reducing immediate exposure.
✅ 2. Reduces Leverage and Margin Risk
- In leveraged positions, rapid consecutive orders can bring liquidation price dangerously close.
- By spacing out orders,
interval_minutesgives time for price recovery and protects account equity.
✅ 3. Controls Overtrading and Fee Accumulation
- More frequent DCA orders = higher cumulative trading fees and slippage risk.
- Interval enforcement reduces unnecessary trades while still allowing DCA averaging.
4. Interaction With Other Parameters
deviation_percent- Determines grid spacing
- Interval prevents orders from stacking even if price quickly hits multiple deviation thresholds
max_orders- Sets total number of grids allowed
- Interval ensures these orders are executed gradually
Multipliers / Final DCA
- Deep grids or final DCA can have higher multipliers
- Interval prevents sudden overexposure when combined with large orders
Volatility Cooldowns
- Interval works alongside volatility checks to avoid executing orders during extreme spikes
5. Recommended Usage
| Trade Type | Suggested interval_minutes |
|---|---|
| Spot trades, stable assets | 5–10 min |
| Leveraged trades (5–10x) | 10–20 min |
| Highly volatile coins | 15–30 min |
- Higher leverage or volatility → longer intervals to avoid rapid capital deployment.
6. Key Takeaways
interval_minutesdefines the minimum wait time between DCA/grid orders.- It prevents rapid overexposure, protects leverage and margin, and limits trading fees.
- Works together with deviation_percent, max_orders, multipliers, and volatility cooldowns to control risk.
- Crucial for leveraged trades and volatile markets, where consecutive DCA entries can be dangerous.