Docs Download
Home / Docs / How long should max_observation_minutes be set?

How long should max_observation_minutes be set?

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

  1. 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.
  2. 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.
  3. 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_pct and required_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_minutes controls 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.

Ready to trade? Download MagicTradeBot free and test in paper mode before going live.