$npx skillfedfor your agent

performance-attribution

Break down why your portfolio outperformed or underperformed its benchmark by isolating contributions from sector positioning, individual stock picks, and market timing. Performance Attribution uses Brinson decomposition, factor regression, and timing models to reveal the true drivers of excess return across multiple time periods.

Performance Attribution decomposes portfolio excess returns into sector allocation, stock selection, and timing contributions to explain strategy performance.

AI-generated summary based on this skill's SKILL.md

28,096 4,557 MITupdated by HKUDS

Decision gist · record as of 2026-07-27

Performance Attribution decomposes portfolio excess returns into sector allocation, stock selection, and timing contributions to explain strategy performance. Break down why your portfolio outperformed or underperformed its benchmark by isolating contributions from sector positioning, individual stock picks, and market timing. Performance Attribution uses Brinson decomposition, factor regression, and timing models to reveal the true drivers of excess return across multiple time periods.

manual: git clone https://github.com/HKUDS/Vibe-Trading → cp -r Vibe-Trading/agent/src/skills/performance-attribution ~/.claude/skills/performance-attribution
agent/src/skills/performance-attribution/SKILL.md · version 5b494615

Use it when

  • Performance Attribution decomposes portfolio returns into distinct components: sector allocation effects (how your sector bets performed).
  • Yes.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

HKUDS/Vibe-Trading/performance-attribution · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is performance attribution analysis?

Performance Attribution breaks down why your portfolio outperformed or underperformed its benchmark by isolating contributions from sector positioning, individual stock picks, and market timing. It uses Brinson decomposition, factor regression, and timing models to reveal the true drivers of excess return across multiple time periods.

How does performance attribution analyze stock selection vs market timing?

Performance Attribution decomposes portfolio returns into distinct components: sector allocation effects (how your sector bets performed), stock selection effects (how your picks beat sector benchmarks), and timing contributions (whether you bought/sold at opportune moments). Models like Treynor-Mazuy and Henriksson-Merton specifically isolate market-timing ability from pure security selection skill.

Can performance attribution help with factor exposure and alpha/beta analysis?

Yes. Performance Attribution uses multi-factor regression models to analyze your factor exposure and decompose returns into alpha (skill) and beta (systematic risk). This reveals which factors drove your outperformance and whether excess returns came from factor tilts or genuine stock-picking ability.

What is the Brinson sector attribution model?

Performance Attribution's Brinson decomposition breaks portfolio excess return into sector allocation effects and stock selection effects. It measures how much return came from over/underweighting sectors versus how much came from picking better stocks within those sectors, providing clear visibility into where your edge actually lies.

How does performance attribution detect style drift and rolling performance?

Performance Attribution tracks rolling performance metrics and factor exposures over time windows to detect style drift—unintended shifts in your portfolio's risk profile or factor tilts. Rolling Sharpe ratios, information ratios, and factor loadings reveal whether your strategy remains consistent or has drifted from its intended approach.

What risk-adjusted metrics does performance attribution compare against benchmarks?

Performance Attribution compares your portfolio against appropriate benchmarks using risk-adjusted metrics including Information Ratio (excess return per unit of tracking error), Sharpe ratio, and capture ratios. These metrics contextualize your outperformance relative to the risk you took, separating luck from skill.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Performance Attribution Analysis

Overview

Decompose portfolio excess returns into explainable sources: sector allocation, stock selection, factor exposure, timing contribution, and more. This helps explain why a strategy made or lost money, rather than only how much it made or lost.

Brinson Attribution Model

Single-Period Brinson-Fachler Model
Total excess return = portfolio return - benchmark return

Decomposed into three parts:
1. Allocation effect: sector-weight deviation × sector benchmark return deviation
2. Selection effect: stock selection within a sector × sector benchmark weight
3. Interaction effect: weight deviation × stock-selection deviation

Mathematical formulas:

``` Let w_p,i = portfolio weight of sector i w_b,i = benchmark weight of sector i r_p,i = portfolio return of sector i r_b,i = benchmark return of sector i R_b = total benchmark return

Allocation_i = (w_p,i -

(truncated - see the full file via the links below)

File tree — 1 file
agent/src/skills/performance-attribution/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Decompose portfolio returns into sector allocation, stock selection, and timing contributions”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

performance-attribution
by JoelLewis · JoelLewis/finance_skills

Decompose active returns into the sources that drove outperformance or underperformance—allocation decisions, security selection, and their combined effects. Supports equity attribution via Brinson-Fachler, factor-based decomposition, fixed-income yield and curve analysis, and currency impact for international portfolios.

MITupdated Jul 2026
★ 159repo stars
performance-metrics
by JoelLewis · JoelLewis/finance_skills

Compute and interpret industry-standard risk-adjusted performance metrics for investment analysis. This skill covers Sharpe ratio, Sortino ratio, Information ratio, Treynor ratio, Calmar ratio, Omega ratio, and capture ratios—each designed to measure returns relative to different types of risk. Use it to compare funds, assess manager skill, and understand whether volatility is justified by returns.

MITupdated Jul 2026
★ 159repo stars
factor-investing
by JoelLewis · JoelLewis/finance_skills

Factor Investing teaches you to apply multifactor models—from CAPM through Fama-French 3- and 5-factor frameworks plus momentum—to portfolio construction and fund evaluation. Regress fund returns against factors to separate true alpha from passive exposure, detect closet indexing, and assess smart-beta product purity and implementation quality.

MITupdated Jul 2026
★ 159repo stars
performance-reporting
by JoelLewis · JoelLewis/finance_skills

Performance Reporting builds comprehensive investment reports showing returns across standard periods, benchmark comparisons, and risk metrics. It handles time-weighted and money-weighted calculations, GIPS-compliant composites, and goal progress tracking with visualizations like growth charts and drawdown analysis.

MITupdated Jul 2026
★ 159repo stars
multi-factor
by HKUDS · HKUDS/Vibe-Trading

Multi-factor ranks stocks by computing and standardizing multiple factors—momentum, reversal, volatility, and volume—then combines them into a composite score to select top performers for equal-weight portfolios. Built-in support for value metrics like PE and ROE on supported markets. The newer ZooSignalEngine integrates 450+ pre-built alphas from the registry for flexible long-only, short-only, or long-short strategies.

MITupdated Jul 2026
★ 28,096repo stars
statistics-fundamentals
by JoelLewis · JoelLewis/finance_skills

Analyze financial return series with descriptive statistics, normality tests, and covariance estimation. Run CAPM regressions with significance testing, apply Ledoit-Wolf shrinkage for stable portfolio optimization, and bootstrap confidence intervals for statistics without clean analytical solutions.

MITupdated Jul 2026
★ 159repo stars

More skills longbridge-portfolio (MIT) · historical-risk (MIT) · bet-sizing (MIT)

Tags
return-decompositionmanager-skill-assessmentfactor-exposure-modelingrisk-adjusted-metricsmarket-timing-detectionsector-rotation-analysisalpha-persistence-testingbenchmark-selection-frameworkmulti-period-attributionstyle-drift-monitoring