Fuente en inglés — traducción pendiente — inglés

CLI Reference

The authoritative surface is always nexus help / nexus <command> --help

(this page documents the verified contract; the CLI is golden-tested by 66

end-to-end tests).

Global flags

FlagEffect
--jsonmachine-readable output (parity-tested keys)
--plainno color, no formatting
--no-colordisable color only

Command groups

CommandPurposeNotes
`nexus start [--mode paper\shadow\live] [--port N] [--daemon]`run enginepaper default; live needs interactive --yes/confirmation; port default 8080
nexus stop / nexus restartdaemon controlpidfile-based; dead-pid reported honestly (BUG-172)
nexus doctor19-category diagnostics + suggested fixes--json for tooling
nexus status / nexus healthenvironment + healthREADY / DEGRADED / NOT READY
nexus config [--validate path] [--show]configuration inspectionsecrets masked
nexus logs [--tail N] [--errors]log accessseverity-split store
`nexus test --mode quick\unit\integration`run suitesnever runs live-broker tests
nexus update <sub>update lifecycle`check\latest\download\install\verify\status\history\rollback\doctor`
nexus release infoinstalled release metadatarelease identity lock
nexus repairnon-destructive derived-state repairnever deletes user data
nexus db <sub>migrate, `hygiene status\plan\run\pause\resume\history`hygiene AUDIT_ONLY default
nexus incidents <sub>incident centerlist / reports / export (sanitized)
nexus forensic [---deploy-gate]forensic health enginedeploy gate wired into beforePush
nexus model-dataset-buildbuild canonical datasetfingerprinted, immutable
nexus model-experiment-createcreate experimentfair A/B/C protocol
nexus model-traintrain candidatedeterministic seeds
nexus model-validatevalidate candidatewalk-forward + OOS + robustness
nexus model-replayreplay paritybit-exact proof
nexus setup / nexus installfirst-run wizardcompat → mode → symbol → health
nexus export-diagnosticssanitized diagnostics ZIPnever contains secrets
nexus uninstall [--no-keep-data]remove installationuser data preserved by default

Exit codes

0 success · 1 runtime/validation failure · 2 invalid usage ·

3 environment blocked · 4 release verification failure · 5 update not

applicable/failed.

Legacy entrypoints

`python NexusTradingForexBot.py --doctor | --config configs/live.yaml |

--symbol EURUSD | --gateway` — the legacy launcher (still supported;

main.py redirects). Prefer the nexus surface.