# Finance Portfolio Theory

> Modern Portfolio Theory — efficient frontier, CAPM, APT, risk attribution, and performance measurement — with explicit assumptions and regime analysis.

- Skill: `quantumquirkxyz/finance-portfolio-theory` (Agent Skill)
- Install (CLI): `npx skillmds@latest add quantumquirkxyz/finance-portfolio-theory`
- Raw SKILL.md: https://api.skillmd.com/api/skills/quantumquirkxyz/finance-portfolio-theory/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: quantumquirkxyz (https://skillmd.com/u/quantumquirkxyz)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/quantumquirkxyz/finance-portfolio-theory

---


## Contract

- **Input:** problem description and inputs defined by the skill body.
- **Output:** Markdown artifact with completed process steps.
- **Side effects:** none.
- **Dependencies:** none.
- **Stop condition:** all process steps executed; artifact saved with required sections.
- **Risk:** low.
- **Boundary:** produces reasoning artifact only; no system changes.


# Portfolio Theory

Apply **Modern Portfolio Theory** — efficient frontier, CAPM, APT, performance attribution — with explicit assumptions and regime analysis.

## When to use

- The user wants to understand portfolio construction theory.
- CAPM / factor models are used for expected returns or risk attribution.
- Performance attribution or benchmark comparison is needed.

## Process

1. Define universe — assets, time window, currency.
2. Compute moments — expected returns (historical, factor, or blended), covariance matrix (shrinkage justified), correlations.
3. Efficient frontier — compute frontier; identify minimum-variance portfolio, tangency portfolio, and efficient set.
4. CAPM / APT — estimate beta for each asset; APT: factor exposures (Fama-French 3/5, momentum, quality).
5. Performance attribution — Brinson-Hood-Beebower: allocation, selection, interaction effects.
6. Regime analysis — does the factor model / efficient frontier hold across economic regimes?
7. Deliver — artifact: efficient frontier, CAPM betas / APT factor exposures, attribution decomposition, and a note on model assumptions and regime robustness.

