performance-attribution

Decompose portfolio excess returns into sector allocation, stock selection, factor exposure, and market-timing contributions.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill performance-attribution-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-attribution
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/performance-attribution
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill performance-attribution-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of understanding the underlying drivers of investment performance, moving beyond simple return metrics to identify the specific sources of alpha and risk.

Core Features & Use Cases

  • Brinson Attribution: Decompose excess returns into sector allocation, stock selection, and interaction effects.
  • Factor & Timing Analysis: Evaluate alpha/beta decomposition and market-timing ability using Treynor-Mazuy and Henriksson-Merton models.
  • Use Case: A portfolio manager can use this to determine if their outperformance is due to genuine stock-picking skill or unintended exposure to small-cap or momentum factors.

Quick Start

Use the performance-attribution skill to analyze the portfolio returns against the CSI 300 benchmark for the last twelve months.

Frequently Asked Questions about performance-attribution

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

FAQPage Schema
How do I decompose portfolio excess returns into sector allocation and stock selection?

Portfolio excess returns are decomposed using Brinson attribution to isolate sector allocation, stock selection, and interaction effects, explaining whether outperformance stems from genuine stock-picking skill or specific sector exposures.

What is the best way to evaluate alpha beta decomposition and market timing ability?

Alpha beta decomposition and market-timing ability are evaluated using Treynor-Mazuy and Henriksson-Merton models, which assess portfolio returns against benchmarks to identify timing contributions and factor exposure.

Can I analyze my investment strategy against the CSI 300 or S&P 500 benchmark?

Yes, you can analyze investment strategies against specific benchmarks like CSI 300 or S&P 500, calculating risk-adjusted performance metrics including Sharpe, Sortino, and Information Ratio to evaluate excess returns.

How do I calculate risk adjusted performance metrics like Sharpe and Sortino ratios?

Risk-adjusted performance metrics like Sharpe, Sortino, and Information Ratio are calculated by comparing portfolio volatility and downside risk against benchmark returns to quantify the efficiency of the investment strategy.

Why does my portfolio outperform the benchmark, is it stock picking or momentum factors?

Portfolio outperformance is diagnosed by decomposing returns to determine if alpha originates from genuine stock-picking skill or unintended exposure to small-cap and momentum factors, clarifying the actual sources of excess returns.