risk-analysis

Compute VaR, CVaR, and drawdown metrics for portfolios and backtests.

Updated May 15, 2026
One-click install
npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill risk-analysis-philipcoller-777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-analysis
Source: https://github.com/philipcoller-777/Vibe-Trading-TV2/tree/main/agent/src/skills/risk-analysis
Command: npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill risk-analysis-philipcoller-777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Risk Analysis Skill provides quantitative risk metrics for portfolios and backtests, enabling better risk control and informed decision-making.

Core Features & Use Cases

  • VaR and CVaR calculations using historical, parametric, and Monte Carlo methods.
  • Maximum drawdown analysis to identify peak-to-trough declines.
  • Monte Carlo simulation framework for scenario analysis and forward-looking risk estimates.
  • Tail-risk analysis with extreme-value and EVT concepts to assess fat tails.
  • Historical and hypothetical stress-testing capabilities across multiple asset classes.
  • Structured risk reporting with actionable insights for risk managers and traders.

Quick Start

Provide your portfolio returns or net-asset values to compute VaR, CVaR, drawdown, and stress-test results.

Frequently Asked Questions about risk-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate VaR and CVaR for a portfolio using historical and Monte Carlo methods?

You can calculate VaR and CVaR for a portfolio by providing your net-asset values or return series to compute historical, parametric, and Monte Carlo risk estimates. This process outputs deterministic, reproducible risk metrics for decision-making.

What is the best way to measure maximum drawdown and tail risk in backtest results?

To measure maximum drawdown and tail risk in backtests, apply peak-to-trough decline analysis alongside extreme-value theory concepts to assess fat tails. This yields structured risk reporting that identifies severe portfolio declines and tail-risk exposure.

Can I run stress testing across multiple asset classes using historical and hypothetical scenarios?

Yes, you can run stress testing across multiple asset classes using both historical and hypothetical scenarios. The framework evaluates portfolio resilience under adverse conditions and generates actionable risk insights for risk managers and traders.

Do I need to provide portfolio returns or net-asset values to perform Monte Carlo risk simulation?

Yes, you need to provide your portfolio returns or net-asset values as input data to perform Monte Carlo risk simulation. This initial data allows the framework to compute forward-looking risk estimates, VaR, CVaR, and drawdown metrics.

Does historical VaR calculation produce deterministic and reproducible results for risk reporting?

Yes, historical VaR calculation produces deterministic and reproducible results suitable for structured risk reporting. The computation applies historical, parametric, and Monte Carlo methods to deliver consistent risk metrics for decision-making.

When should I use parametric VaR instead of Monte Carlo simulation for tail-risk modeling?

Use parametric VaR for rapid, distribution-assumption-based risk estimates, while Monte Carlo simulation suits forward-looking scenario analysis and complex tail-risk modeling. Monte Carlo evaluates extreme-value concepts to assess fat tails across multiple asset classes.