States
| Status | Meaning |
|---|---|
draft | Saved but never run. No backtests yet. |
backtested | Has at least one completed backtest. Still not trading. |
paper | Running against a paper / demo account. |
live | Running against a real-money credential. |
stopped | Was running, now disabled. Open positions are not auto-closed. |
error | Engine refused to run (validation, credential, exchange). |
Transitions
draft→backtested: complete a backtest from the strategy detail page.draft/backtested→paper/live: enable the strategy on a demo / live credential.paper/live→stopped: disable from the strategy detail page or via circuit breaker.- Any state →
error: validation failure, credential revoked, exchange refusing orders.
One strategy per exchange
A user can run only one live strategy per (exchange, credential)
pair. The engine refuses to enable a second one until the first is
stopped.
What "stopped" doesn't do
Stopping a strategy stops new signals. It does not auto-close any open position. Use the manual close UI or wait for the position to hit a stop / target.
