AgentSkillsCN

realtime-risk-engine

适用于量化研究、系统实施及生产管控的实时风险引擎工作流。当任务涉及风险敞口聚合、限价管理以及情景损失韧性时,可选用此类工作流。

SKILL.md
--- frontmatter
name: realtime-risk-engine
description: "Realtime Risk Engine workflows for quantitative research, implementation, and production controls. use when tasks involve exposure aggregation, limit management, and scenario-loss resilience."

Realtime Risk Engine

objective

Execute realtime risk engine work with reproducible research, explicit controls, and deployable outputs.

workflow

  1. define risk appetite, limit hierarchy, and escalation rules.
  2. aggregate exposures across products, venues, and legal entities.
  3. measure pnl, tail risk, and scenario outcomes with daily replay.
  4. investigate breaches with root-cause attribution and remediation plans.
  5. approve production only with auditable controls and rollback procedures.

required diagnostics

  • limit-breach frequency and concentration by strategy and desk.
  • tail-risk evolution across volatility and liquidity regimes.
  • scenario-loss decomposition by factor and instrument class.
  • control effectiveness and incident-response latency.
  • limit-breach clustering by desk and strategy
  • scenario-loss tail behavior under correlated shocks

risk controls

  • enforce hard and soft limits with automated blocking paths.
  • enforce intraday breach escalation and documented owner actions.
  • enforce independent model and control validation cadences.

outputs

  • run python scripts/realtime_risk_engine_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/realtime-risk-engine-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/realtime_risk_engine_diagnostics.py for deterministic diagnostics.
  • use references/realtime-risk-engine-playbook.md for the domain-specific checklist and delivery structure.