- Home
- Skills
- Trading & Investing
- portfolio performance attribution
Works with the AI Agents you already use
portfolio performance attribution
Use when asked to measure investment performance, treat deposits and withdrawals correctly, compare with a supplied benchmark or explain allocation versus selection effects.
$10
About this skill
Computes time-weighted and money-weighted returns (net and gross of fees), risk, benchmark comparison, security/sector/geography contributions and Brinson attribution from your valuations, flows and holdings. Exact traces; decision support only.
What it does
Computes portfolio time-weighted and money-weighted returns (net and gross of fees, cumulative and annualised), volatility, Sharpe, drawdown, benchmark excess return, tracking error, contributions by security, sector, geography and asset class, and a single-period Brinson attribution from supplied valuations, cash flows, fees and holdings. Use when asked to measure investment performance, treat deposits and withdrawals correctly, compare with a supplied benchmark or explain allocation versus selection effects.
Use cases
- Compute time-weighted and money-weighted returns, both net and gross of fees.
- Measure volatility, drawdown and tracking error against a benchmark you supply.
- Split returns by security, sector, geography and asset class, with a Brinson attribution.
What is included
SKILL.md: the workflow, trigger rules and output format.references/: method notes and the markers used in outputs, loaded only when needed.scripts/run.py: one self-contained Python script (standard library only) that does the arithmetic with exact decimals.assets/: input and output schemas with a sample request and result.
Limits
Decision support only. Outputs label analytical estimates, information gaps and decisions that belong to management. The skill does not replace professional judgment.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago