Englische Quelle — Übersetzung ausstehend — Englisch

First-Run Safety (Demo → Shadow → Live)

This engine executes on a real broker. The repository's own first-run guidance

is a strict ladder — do not skip steps.

StepActionWhy
1️⃣Log into a DEMO account in MT5 (File → Open an Account → Practice/Demo), confirm the account number/label before touching the botLIVE and demo accounts can look identical in MT5's login window
2️⃣MT5: Tools → Options → Expert Advisors → tick "Allow Algo Trading"Without this, orders are rejected
3️⃣Copy configs/live.yamlconfigs/demo.yaml; set demo credentials; confirm risk.max_concurrent_positions: 1, risk.risk_per_trade_pct (e.g. 0.5), risk.max_account_drawdown_pctNever touch a live config while real money can be reached
4️⃣Run SHADOW first (nexus start --mode shadow) for days; review the dashboard + Telegram reportsProves model, signals and gates before any execution
5️⃣Run the test suite weekly (pytest tests/unit tests/integration)Catches regressions before they reach a live account
6️⃣Only then consider LIVE with a small balance you can afford to lose, risk_per_trade_pct: 0.25 or lowerLeveraged XAUUSD scalping carries extreme risk

Account-identity fail-safe

The live adapter refuses to connect to a terminal logged into a different

account than configured (BUG-142): the account-identity check is enforced at

connect time, not by convention.

Safety invariants (engine-enforced)

an explicit interactive confirmation after printing the full risk panel.

can be placed, modified or closed.

clamps (≤ 20% free margin), tier caps, single-position exposure cap,

HARD_MAX_LOTS = 10.0, MAX_TOTAL_EXPOSURE = 1.

kill switch via dashboard/CLI.

unsupported platform ⇒ the engine refuses to start.

themselves; shadow never mutates execution.

Also read