What problem does it solve?
Guides implementing and maintaining a production-grade RiskManager that sizes positions, enforces portfolio constraints, and evaluates exits to manage risk in a multi-asset trading system.
Core Features & Use Cases
- Size positions using ATR-based risk, Kelly fraction, and regime scaling, then cap by max position percentage.
- Enforce portfolio constraints, including max sector exposure and kill switches for daily and total drawdowns.
- Evaluate exits via EventFilters and soft exits based on confidence thresholds, integrated with the trade execution pipeline.
- Integrate into the orchestration layer by loading risk config from settings.yaml and wiring into TradeSignal processing and OrderManagement.
Quick Start
Instantiate the RiskManager with the registry and load the risk block from config/settings.yaml to enable sizing, constraints, and exit evaluation in the trading pipeline.