Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 563 Bytes

File metadata and controls

27 lines (19 loc) · 563 Bytes

Risk Engine

The risk engine evaluates pre-trade and portfolio limits before orders reach execution.

Checks

Current checks include:

  • max order notional
  • max position notional
  • gross exposure
  • net exposure
  • leverage
  • daily loss
  • drawdown
  • kill switch state

Behavior

  • Orders are checked before execution.
  • Rejections carry reason codes.
  • Breaches are emitted as auditable events.
  • Limits are configurable from YAML.

Limitation

The risk engine is designed for deterministic simulation and local inspection, not live broker enforcement.