The engine will auto-stop a live strategy if any of the following happens:
User-level circuit breakers
- Daily loss limit hit → halt all live trading for the day.
- Max drawdown breached → halt until released.
See circuit breakers for details.
Credential errors
- Credential revoked or invalidated at the venue.
- Verify-credentials call fails N times in a row.
Strategy moves to error status with the failure reason on the
detail page.
Exchange refusals
- Repeated order rejections (insufficient margin, symbol delisted, exchange in maintenance).
- The engine retries with backoff; after enough failures it stops the strategy.
Position-manager reconciliation failures
If the engine detects that its internal position state diverges significantly from the exchange's, it halts the strategy rather than risk a bad order.
What auto-stop does NOT do
- Does not close open positions. Stops new entries; existing positions remain.
- Does not auto-restart. You must re-enable from the strategy detail page after fixing the cause.
