performance-attribution

Decompose portfolio excess returns into allocation, selection, and timing components.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/hxhyyy/Vibe-Trading --skill performance-attribution-hxhyyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-attribution
Source: https://github.com/hxhyyy/Vibe-Trading/tree/main/agent/src/skills/performance-attribution
Command: npx skills add https://github.com/hxhyyy/Vibe-Trading --skill performance-attribution-hxhyyy

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 whether gains or losses stem from strategic allocation, stock selection, or market timing.

Core Features & Use Cases

  • Brinson Attribution: Decompose excess returns into allocation, selection, and interaction effects to evaluate sector-level performance.
  • Factor Alpha/Beta Decomposition: Use Fama-French extensions to isolate manager skill (alpha) from systematic market exposure (beta).
  • Market-Timing Evaluation: Apply Treynor-Mazuy and Henriksson-Merton models to determine if active timing decisions add value.
  • Use Case: A portfolio manager can use this to justify a strategy's performance to stakeholders by proving that excess returns are driven by specific stock-picking ability rather than just high market beta.

Quick Start

Use the performance-attribution skill to analyze the portfolio performance data in the current context and generate a comprehensive attribution report.

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 effects?

Portfolio excess returns are decomposed using Brinson attribution to break down performance into allocation, selection, and interaction effects, evaluating sector-level performance against specific benchmarks.

What is the best way to isolate manager alpha from market beta in an investment strategy?

To isolate manager alpha from market beta, Fama-French extensions are applied to perform regression-based alpha-beta decomposition, separating stock-picking skill from systematic market exposure.

How does market timing evaluation work for active portfolio management?

Market timing evaluation applies Treynor-Mazuy and Henriksson-Merton models to historical return data and benchmark indices, determining whether active timing decisions add value to the portfolio.

Can I use this performance attribution skill with CSI 300 or S&P 500 benchmark indices?

Yes, quantitative analysis of investment strategies supports specific benchmarks like CSI 300 or S&P 500, requiring historical return data and benchmark indices to calculate risk-adjusted metrics.

Why do I need historical return data and benchmark indices for risk-adjusted metric calculation?

Historical return data and benchmark indices are required because regression-based alpha-beta decomposition and market timing models depend on time-series data to calculate accurate risk-adjusted metrics.

What are the limitations of using Brinson attribution for portfolio performance analysis?

Brinson attribution focuses on sector allocation and stock selection effects but does not independently evaluate factor exposure or market timing, requiring additional models like Fama-French for comprehensive factor decomposition.