Portfolio Exposure & Cooldown Controls
MaxOpenTrades and cooldown settings are portfolio-level risk control mechanisms.
They prevent:
- Overexposure across multiple symbols
- Capital over-allocation
- Chaotic re-entries during volatility
- Notification spam during signal storms
These controls are especially critical when using:
- DCA strategies
- Martingale / progressive money management
- Dynamic trade sizing
- High leverage
- Scaling or pyramiding systems
1️⃣ MaxOpenTrades – Portfolio Exposure Control
MaxOpenTrades limits how many trades the bot can run simultaneously.
⚙️ Example
MaxOpenTrades: 5
The bot will:
- Open trades on only 5 symbols at a time
- Skip additional signals once the limit is reached
- Resume trading when a slot becomes available
🔎 Why This Is Critical
Without limits, your bot might:
- Open 10–20 trades simultaneously
- Trigger multiple DCA layers per trade
- Apply leverage to all positions
- Multiply exposure beyond safe capital levels
This transforms controlled strategy execution into uncontrolled portfolio stacking.
📊 Realistic Risk Scenario
Balance = 1,000 USDT
InitialTradeAmount = 50 USDT
Leverage = 10x
DCA Levels = 3
Multiplier = 1.5
MaxOpenTrades = 10
If all trades move against you simultaneously:
- Each position may reach 200–300+ USDT exposure
- 10 positions can exceed total safe capital
- Cross margin distributes losses across entire balance
- Liquidation risk increases exponentially
Your account can be wiped out rapidly during correlated market moves.
🎯 Recommended Guidelines
✅ Small Initial Size (e.g., 5 USDT)
You may allow:
MaxOpenTrades: 5–10
Only if per-trade exposure remains very small and leverage is controlled.
⚠️ Using DCA / Martingale / Progressive Scaling
Limit aggressively:
MaxOpenTrades: 2
Unless you have mathematically calculated:
- Worst-case stacked exposure
- DCA amplification
- Leverage multiplication effect
- Margin mode liquidation behavior
📌 Core Principle
MaxOpenTrades protects your total account exposure, not just individual trade risk.
It ensures the strategy scales responsibly at the portfolio level.
2️⃣ CooldownBetweenTrades – Symbol Re-entry Protection
This setting prevents immediate re-entry into the same symbol after a trade closes.
⚙️ Example
CooldownBetweenTrades: 300 # seconds
After a trade closes:
- The bot waits 5 minutes before opening another trade on that symbol
- Prevents rapid stop-loss → re-entry loops
🔎 Why This Matters
During:
- High volatility
- Flash crashes
- Sudden pumps
- Long wick conditions
Trades may:
- Hit stop-loss quickly
- Immediately trigger a new signal
- Re-open repeatedly
- Accumulate fees and slippage
This creates:
- Overtrading
- Capital churn
- Emotional-looking bot behavior
- Increased transaction costs
Cooldown stabilizes execution rhythm.
3️⃣ CooldownBetweenSignalBroadcast – Notification Governance
This setting prevents signal and alert spam.
⚙️ Example
CooldownBetweenSignalBroadcast: 600
If a signal triggers:
- Notification is sent once
- Further signals for the same symbol are muted during cooldown
Critical when:
- Strategy produces frequent signals
- Market enters extreme volatility
- Using Telegram / Discord alert integrations
Without this control, dozens of alerts per minute may occur.
🧠 How These Controls Work Together
| Setting | Controls | Risk Type |
|---|---|---|
| MaxOpenTrades | Total concurrent positions | Portfolio exposure |
| CooldownBetweenTrades | Symbol re-entry timing | Overtrading |
| CooldownBetweenSignalBroadcast | Notification frequency | Alert spam |
Together they create:
- Structured exposure scaling
- Controlled re-entry pacing
- Cleaner signal management
🚀 Example Safe Configuration
For a 1,000 USDT account using DCA:
MaxOpenTrades: 2
CooldownBetweenTrades: 300
CooldownBetweenSignalBroadcast: 600
Result:
- Maximum 2 active positions
- 5-minute gap before re-entry per symbol
- Stable and manageable alert flow
⚠️ Advanced Strategy Warning
If you combine:
- High leverage
- Cross margin
- Dynamic sizing
- Martingale
- DCA multipliers
- Unlimited open trades
You create exponential exposure stacking.
A single correlated market move can cascade liquidations across positions.
MaxOpenTrades is your first and most important defense layer.
📌 Final Summary
MaxOpenTrades
- Limits total concurrent positions
- Prevents portfolio overexposure
- Controls capital stacking
CooldownBetweenTrades
- Prevents rapid re-entry loops
- Stabilizes symbol-level behavior
CooldownBetweenSignalBroadcast
- Prevents notification flooding
- Improves signal clarity
Together, these controls transform your bot from:
A signal-triggering engine
into
A disciplined, portfolio-aware risk management system.