risk-engine

Community

Keep trades safe with real-time risk gating.

AuthorLeiisawesome
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Risk control layer and portfolio governor for real-time position limits, exposure management, drawdown enforcement, regime detection, and PnL attribution. Use when designing risk constraints, implementing drawdown gates, building volatility-adjusted sizing, detecting regime shifts or concentration risk, defining hedge overlays, emergency de-leveraging, or reasoning about fail-safe guarantees, PnL decomposition, or risk budget allocation.

Core Features & Use Cases

  • Real-time enforce risk constraints: intercepts every order intent and validates against risk limits before submission.
  • Dynamic sizing and regime-aware risk: scales positions based on volatility regimes and health signals; includes kill-switch and circuit breaker logic.
  • PnL attribution & governance: provides risk verdicts per trade and feeds risk events into governance for auditing and cross-strategy exposure control.

Quick Start

Run a real-time risk check by calling RiskEngine.check_order with the incoming order and handle the resulting RiskVerdict to decide submission or adjustment.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: risk-engine
Download link: https://github.com/Leiisawesome/feelies/archive/main.zip#risk-engine

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.