Local stack
RoboTrading
Trading mode comes from RuntimeState (engine-written). Credentials stay in gitignored .env — never secrets in the browser.
API health
up
Trading mode
RuntimeState
paper
Source of truth is GET /runtime/mode after the engine applies outbox commands — not a client-only value.
Live Mode
paper
Enable is disabled until Live credentials are configured.
Toggle writes a durable outbox command; mode updates only after the engine claims it. No automatic Live promotion.
Max Daily Loss
Kill-Switch threshold for each UTC trading day. Persisted as non-secret operator settings — engine wiring is Story 4.4.
Exchange credentials
Paper
configured
key e2Qu…SEVeLive
missing
API secrets are never sent to the browser. Masked key hints show first/last characters only.