The explosive_threshold_pct is the primary sensitivity setting for the Volatility Gate. It determines the smoothed adverse movement percentage that must be exceeded to hold a DCA order instead of placing it immediately. Setting it appropriately is crucial to balance safety vs. participation in DCA trades.
๐น 1๏ธโฃ What It Controls
Lower values โ more sensitive gate
- Even mild price swings may trigger observation
- Fewer immediate DCA orders fire
- Reduces exposure in volatile assets, but may delay normal DCA placements
Higher values โ less sensitive gate
- Only extreme, rapid moves trigger observation
- Most DCA orders fire immediately
- Less protection during explosive moves, more like standard fixed-interval DCA
Default recommendation: 3.0% (good balance for most assets)
๐น 2๏ธโฃ Conservative Settings
Use lower explosive_threshold_pct (e.g., 1.5โ2.0%) when:
- Trading high-volatility symbols (low-cap altcoins, meme coins)
- Observing frequent tail losses in rapid dips or spikes
- You want maximum protection against chasing extreme moves
Behavior:
- Even minor momentum above the threshold holds DCA orders for observation
- Ensures DCA is only executed once momentum truly cools or reverses
- Reduces potential drawdowns but may slightly slow overall DCA activation
๐น 3๏ธโฃ Aggressive / Less Conservative Settings
Use higher explosive_threshold_pct (e.g., 4โ5%) when:
- Trading stable large-cap assets (BTC, ETH, top 20 coins)
- Market typically exhibits slow, controlled movements
- You want DCA orders to fire quickly during normal price deviations
Behavior:
- Only very sharp movements trigger observation
- Most DCA orders execute immediately
- Less protection against extreme momentum events, but DCA is more responsive
๐น 4๏ธโฃ Practical Tuning Advice
- Start with default 3.0% and run demo trading for at least 48 hours.
Observe logs:
- Too many HELD orders โ threshold may be too low (overly conservative)
- No HELD orders during fast moves โ threshold may be too high (insufficient protection)
Adjust based on symbol volatility and risk tolerance:
- High volatility โ lower threshold (more conservative)
- Low volatility โ higher threshold (less conservative)
๐น 5๏ธโฃ Summary
explosive_threshold_pctdetermines when a DCA order is held due to explosive price movement.- More conservative (lower %) โ maximum protection, fewer immediate DCA executions, reduced drawdowns.
- Less conservative (higher %) โ DCA behaves closer to fixed-interval, more responsive, but less protection.
- Always test in demo mode to find the right balance for your trading strategy.
Essentially, the more conservative the setting, the more the Volatility Gate prevents chasing extreme moves, making DCA safer in volatile markets without removing participation entirely.