Portfolio Construction and Optimization

Portfolio Construction and Optimization is the discipline of allocating scarce financial capital across hundreds or thousands of securities to maximize risk-adjusted return subject to explicit leverage, turnover, liquidity, and factor constraints.

While Harry Markowitz pioneered Mean–Variance Optimization in 1952, raw optimizers act as “estimation error maximizers”-placing extreme, leveraged bets on assets with the highest estimation errors in their sample returns. Modern quantitative asset allocation uses robust Bayesian priors, Random Matrix Theory denoising, Risk Parity, and Hierarchical Clustering to build stable, deployable allocations.

This pillar is organised into nine topic folders, each a self-contained hub index.md with six sub-pages (from-zero intuition → mathematical ground truth → implementation → failure modes → advanced extensions). Follow them in the order below - each builds on the machinery of the ones before it.


Core Portfolio Topics

  1. Modern Portfolio Theory & Mean–Variance Frontiers: The Markowitz quadratic program, the efficient frontier and tangency portfolio, two-fund separation, and why raw MVO is the “estimation-error maximizer”.
  2. Covariance Shrinkage & RMT Denoising: The curse of dimensionality (), Ledoit–Wolf analytical shrinkage, and Marchenko–Pastur random-matrix denoising of the sample covariance.
  3. Black–Litterman Bayesian Allocation: Reverse optimization for equilibrium implied returns, blending quantitative views with market priors, and the master allocation formula.
  4. Risk Parity & Equal Risk Contribution (ERC): Marginal risk contribution, why 60/40 is secretly 90/10 equity risk, and leverage in risk-balanced portfolios.
  5. Hierarchical Risk Parity (HRP): Correlation-distance metrics, tree-graph clustering, quasi-diagonalization, and matrix-inversion-free allocation.
  6. Robust Portfolio Optimization: Handling estimation error directly - uncertainty sets, robust formulations, and resampling instead of point-estimate MVO.
  7. Kelly Criterion & Bet Sizing: Optimal growth of capital, fractional Kelly, ruin probability, and position sizing under non-ergodic multiplicative growth.
  8. Constraints & Transaction Costs: Weight/leverage/sector constraints, quadratic market impact, turnover penalties, and sparse rebalancing frontiers.
  9. Multi-Asset & Factor Allocation: Asset-class and cross-asset risk premia, factor-based allocation, carry, styles, and portfolio construction across asset universes.

Reading Path (Zero to Production Allocation)

Before this pillar (foundations): read Linear Algebra · Calculus · Statistics & Inference · Ergodicity & Statistical Mechanics first - see the Math Foundations hub for the full consumption order.

A guided route through the nine folders, in four stages.

  • Start (from nothing → a defensible portfolio): Modern Portfolio Theory & Mean–Variance → Covariance Shrinkage & RMT Denoising. Build the Markowitz framework first - efficient frontier, tangency portfolio, two-fund separation - then immediately confront its fatal flaw: it runs on a noisy sample covariance, so shrink and denoise the input before ever touching an optimizer.
  • The robust-return layer: Black–Litterman Bayesian Allocation → Robust Portfolio Optimization. Expected returns are even harder to estimate than covariance. Black–Litterman anchors on equilibrium and blends views; robust optimization bakes estimation error directly into the decision. Together they turn the error-maximizing optimizer into a stable one.
  • Risk-based allocation: Risk Parity & ERC → Hierarchical Risk Parity. The mean-agnostic route: allocate by risk contribution rather than predicted returns, and (HRP) avoid inverting a noisy covariance at all by clustering and bisecting the tree.
  • Practical constraints, sizing & scale: Kelly Criterion & Bet Sizing → Constraints & Transaction Costs → Multi-Asset & Factor Allocation. The deployable endgame: size bets for optimal growth without ruin (fractional Kelly), impose the real-world frictions (impact, turnover, leverage caps) that a raw optimizer ignores, and scale the whole machinery across asset classes and factor premia.

The Modern Quantitative Allocation Workflow