The max_observation_minutes parameter defines the maximum time a DCA order can remain in observation before being force-released, regardless of market volatility. Proper tuning is crucial to balance safety and execution timeliness.
๐น 1๏ธโฃ Purpose of max_observation_minutes
- Ensures that DCA orders are eventually executed, even if the market remains highly volatile.
- Acts as a safety net to prevent DCA orders from being indefinitely delayed.
- Helps maintain consistent DCA participation while still avoiding exposure to extreme momentum moves.
๐น 2๏ธโฃ How to Determine Duration
Asset Volatility:
BTC / Large Caps:
- Moves gradually; high-momentum swings are rare.
- Recommended: 60 โ 90 minutes.
High-Volatility Altcoins:
- Moves can be extreme and prolonged.
- Recommended: 120 โ 180 minutes to allow price stabilization.
Trading Strategy & Risk Appetite:
- Conservative approach: longer observation โ fewer premature DCA executions, safer average entry.
- Aggressive approach: shorter observation โ faster DCA, slightly higher exposure risk.
Market Behavior Patterns:
- Consider the typical duration of high-momentum moves for the asset.
- Use historical data or demo trading to check how long explosive movements usually last.
๐น 3๏ธโฃ Best Practices
Pair with
explosive_threshold_pctandrequired_neutral_streak:- Lower explosive threshold with longer observation maximizes safety.
- Ensure neutral/reversal streak settings align with max observation to avoid orders being released too early or too late.
Avoid extremely short observation windows:
- Risk of executing DCA mid-crash or mid-pump, negating the benefit of the Volatility Gate.
Avoid excessively long observation windows:
- Orders may miss optimal entry opportunities if the market stabilizes sooner than expected.
๐น 4๏ธโฃ Practical Example
| Asset Type | Typical Volatility | Recommended max_observation_minutes |
|---|---|---|
| BTC / ETH | Stable large-cap | 60 โ 90 |
| Low-Cap Altcoins | Rapid, extended swings | 120 โ 180 |
Scenario:
- A low-cap coin drops 10% in 15 minutes and continues volatile swings.
max_observation_minutes = 120โ DCA order remains in observation until momentum cools or 120 minutes pass, whichever comes first.- Result: safer average entry while guaranteeing order execution.
๐น 5๏ธโฃ Summary
max_observation_minutescontrols the safety timeout for held DCA orders.- Set according to asset volatility, market behavior, and trading risk profile.
- Ensures DCA orders arenโt executed too early during explosive moves, but also donโt remain unplaced indefinitely.
Typical ranges:
- 60โ90 minutes for BTC/large-cap coins
- 120โ180 minutes for high-volatility altcoins
Think of it as a โmaximum patience timerโ for your DCA orders: enough time to wait for the market to calm, but not so long that opportunities are missed.