The daily loss circuit breaker is a user-level safety check
that disables all live strategies when the day's realized P&L drops
below -daily_loss_limit.
How it works
- Resets at 00:00 UTC.
- Counts realized P&L from all closed positions across all strategies and all venues for that user.
- When the limit is breached, the engine sets
is_trading_halted = trueand refuses to open new positions. - Existing positions are not auto-closed - stops and targets still fire.
Configuration
Set the limit on the Risk Settings page. The strategy JSON does not include it - circuit breakers are per-user, not per-strategy.
Why per-user
A strategy can't honestly self-report its own risk budget when other strategies share the same account. The cap lives one layer up.
Pitfalls
- Halts apply to all strategies. A losing strategy can halt winning ones for the rest of the day.
- Reset is UTC, not local time. Set your expectations accordingly.
- Manual override is on the Risk Settings page (release the halt with an explicit click).
