risk-analysis

Provides implementations and usage guidance for portfolio risk measurement and stress testing: VaR/CVaR (historical, parametric, Monte Carlo), max drawdown analysis, EVT tail fitting, scenario stress tests, and Monte Carlo GBM simulation with reproducible seeding. Includes sign-convention rules, recommended workflows, and expected function calls in src/quantlib/risk.py.

Risk measurement and stress testing — VaR/CVaR/max drawdown calculation, Monte Carlo simulation, extreme-value tail-risk analysis, and historical scenario stress testing.

  • Category: Business
  • Source: HKUDS/Vibe-Trading at commit a7ea232
  • Stars: 39095
  • License: MIT
  • Automated scan and AI review: passed on commit a7ea232 (2026-11-28). All 1 file read in full by the automated scan and the AI review.

What this skill does on your computer

Instructions only: nothing beyond what your agent normally does.

We checked version a7ea232 on 2026-11-28. Later changes to the repository haven't been checked; the install command gets the checked version.

Works with

  • Claude Code: copy the folder to ~/.claude/skills/risk-analysis/ (or .claude/skills/<skill>/ in a project)
  • OpenAI Codex: copy the folder to ~/.codex/skills/risk-analysis/
  • GitHub Copilot: copy the folder to .github/skills/risk-analysis/ in your repository
  • Cursor: copy the folder to the skills folder in your Cursor settings
  • Gemini CLI: copy the folder to the skills folder in your Gemini CLI settings
  • Amp: copy the folder to the skills folder in your Amp settings

Install the checked version: npx degit HKUDS/Vibe-Trading/agent/src/skills/risk-analysis#a7ea2328337ee435fc7c25c0378d130dd038b63b risk-analysis. AI Agents Store never runs skills, and checks can miss things: review the files before you install. How we review skills