performance-metrics

Calculate risk-adjusted performance ratios including Sharpe, Sortino, and capture analysis.

164|33|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/JoelLewis/finance_skills --skill performance-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-metrics
Source: https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/performance-metrics
Command: npx skills add https://github.com/JoelLewis/finance_skills --skill performance-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users evaluate and compare investment performance by calculating industry-standard risk-adjusted metrics, making it easier to understand the true value of an investment relative to its risk.

Core Features & Use Cases

  • Risk-Adjusted Ratios: Computes Sharpe, Sortino, Information, Treynor, and Calmar ratios.
  • Distribution Analysis: Calculates the Omega ratio and upside/downside capture ratios.
  • Performance Comparison: Provides M-squared for direct comparison to benchmarks.
  • Use Case: A user wants to know if Fund A or Fund B performed better over the last year, considering the volatility each fund experienced. This skill can calculate and compare their Sharpe ratios or other relevant metrics.

Quick Start

Calculate the Sharpe ratio for the provided fund returns and a risk-free rate of 3%.

Frequently Asked Questions about performance-metrics

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

FAQPage Schema
How do I calculate risk-adjusted returns to compare two different investment funds?

Risk-adjusted returns are calculated using industry-standard ratios like Sharpe, Sortino, and Calmar to compare fund performance relative to volatility. This skill evaluates investment performance by computing these ratios and capture analysis to show which fund delivers better returns per unit of risk.

What is the difference between Sharpe ratio and Sortino ratio for investment analysis?

The Sharpe ratio measures risk-adjusted returns using total volatility, while the Sortino ratio isolates downside risk. This skill calculates both ratios, allowing users to assess investment performance based on overall fluctuation versus harmful downside deviations separately.

Can I use numpy arrays to compute financial ratios like Treynor and Information Ratio?

Yes, this skill depends on numpy to compute financial ratios including Treynor and Information Ratio. Users can process fund return arrays and benchmark data to evaluate investment performance on a risk-adjusted basis using these standard calculations.

What's the best way to measure investment performance against a benchmark?

Measuring investment performance against a benchmark involves calculating M-squared and Information Ratio for direct comparison. This skill provides benchmark-relative metrics, including upside and downside capture ratios, to assess whether a strategy outperforms or underperforms its market benchmark.

What financial metrics do I need to evaluate an investment strategy's downside risk?

Evaluating downside risk requires the Sortino ratio, Omega ratio, and downside capture ratio. This skill computes these specific metrics to analyze the return distribution and assess how well an investment strategy handles negative market movements.

Does this performance metrics skill calculate the Calmar ratio and Omega ratio?

Yes, this skill calculates both the Calmar ratio and the Omega ratio. It evaluates investment performance comprehensively by computing these distribution analysis metrics alongside standard risk-adjusted ratios to provide a complete view of returns per unit of risk.