Risk Manager
The Risk Manager is your strategy’s circuit breaker. While the Position Manager controls individual lots, the Risk Manager watches the whole strategy and shuts it down when limits are breached.
Realized P&L limits
Set a maximum realized loss (and, optionally, a maximum realized gain) for the strategy:
- Max loss % — if the strategy’s realized losses reach this threshold, it flattens any open position and stops. No more entries until you redeploy.
- Max gain % — optionally lock in success the same way: hit the target, bank it, and stand down.
This is based on realized P&L (closed trades), so a temporary unrealized dip won’t trip it — but a string of real losses will.
Trade throttling
- Max trades per candle — cap how many orders the strategy may place in a single candle. This guards against a noisy signal firing repeatedly and overtrading.