risk-metrics-calculation

Compute VaR, CVaR, drawdown, and Sharpe/Sortino ratios for portfolios.

62|6|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/zenchantlive/beadboard --skill risk-metrics-calculation-zenchantlive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-metrics-calculation
Source: https://github.com/zenchantlive/beadboard/tree/main/.agents/skills/risk-metrics-calculation
Command: npx skills add https://github.com/zenchantlive/beadboard --skill risk-metrics-calculation-zenchantlive

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? Quantifying portfolio risk is essential for informed decision-making; this skill provides a comprehensive set of metrics to measure volatility, tail risk, drawdowns, and risk-adjusted performance.

## Core Features & Use Cases

  • VaR, CVaR, and drawdown analyses for risk monitoring and regulatory reporting.
  • Rolling risk metrics, stress testing (historical and hypothetical), and information ratio calculations.
  • Use cases include performance attribution, risk budgeting, and dashboard risk visibility.

### Quick Start Analyze a returns series to generate a complete risk summary.

Frequently Asked Questions about risk-metrics-calculation

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

FAQPage Schema
How do I calculate VaR and CVaR for a multi-asset portfolio?

To calculate portfolio VaR and CVaR, this skill processes your returns series to compute comprehensive tail risk metrics, supporting both single-asset and multi-asset portfolios across various horizons.

What is the best way to measure portfolio drawdown for risk reporting?

Measuring portfolio drawdown for risk reporting involves computing peak-to-trough declines using a returns series. This skill generates complete drawdown analyses alongside volatility and downside deviation metrics.

Can I use rolling risk metrics for intraday portfolio analysis?

Yes, you can compute rolling risk metrics for intraday portfolio analysis. This skill calculates rolling volatility and downside deviation across horizons ranging from intraday to annual.

How do I perform stress testing and calculate Sharpe ratios for performance attribution?

Stress testing and calculating Sharpe ratios for performance attribution are executed by analyzing returns series. The skill implements historical and hypothetical stress tests alongside Sortino and information ratio calculations.

Does this portfolio risk calculation skill support risk budgeting workflows?

Yes, this skill supports risk budgeting workflows by providing a ready-to-use framework for risk calculations. It delivers quantitative outputs applicable to dashboard visibility and regulatory reporting.

When should I use CVaR instead of VaR for portfolio risk monitoring?

You should use CVaR instead of VaR when you need to assess potential losses beyond the standard threshold. This skill computes both metrics to help evaluate tail risk comprehensively during portfolio risk monitoring.