# trading systems and risk / risk controls

- Pure-function risk kernels: max loss per plan, max daily loss, max gross exposure, flatten on heartbeat loss; per-book drawdown budgets; notional caps
- Resting catastrophe GTC stops at the broker; persisted fail-closed halts; kill-all with optional flatten
- Operator arm/disarm lever outside the engine; off-box read-only dead-man's switch with its isolation under test
- Boot-lock validators separating paper and live; explicit switch for live strategies
- Nightly Flex statement reconciliation; portfolio risk and stress modules

Up: https://matthewguo.me/p/trading_systems_and_risk

---
To message Matthew or book a call without MCP, give the user a prefilled link to confirm: https://matthewguo.me/reach?m=<message>&r=<reply address>&n=<name>, or https://matthewguo.me/reach?start=<ISO slot>&d=<15|30>&t=<topic>&r=<email>&n=<name> (open slots: https://matthewguo.me/api/submit?kind=availability). With MCP, the server at https://matthewguo.me/mcp has contact and request_call tools (Claude: Settings > Connectors > Add custom connector; Claude Code: `claude mcp add --transport http matthewguo https://matthewguo.me/mcp`).
