Mean-Variance Portfolio Optimization
Mean-variance portfolio optimization finds asset weights that minimise portfolio variance for a target return or maximise the Sharpe ratio, given estimated mean returns and a covariance matrix.
평균–분산 포트폴리오 최적화는 추정한 평균수익률과 공분산을 바탕으로 목표수익률에서 분산을 최소화하거나 샤프 비율을 최대화하는 자산 가중치를 구하는 방법입니다.
What does the efficient frontier of these assets look like, and which weights give the minimum-variance and maximum-Sharpe portfolios?
이 자산들의 효율적 경계는 어떻게 생겼고, 최소분산·최대 샤프 포트폴리오의 가중치는 얼마인가요?
Markowitz optimization treats estimated mean returns and covariances as inputs to a quadratic programme whose solutions trace the efficient frontier. The minimum-variance and tangency portfolios are reported with expected return, volatility and Sharpe ratio, but these weights are highly sensitive to estimation error in the means.
When to use Mean-Variance Portfolio Optimization
- Historical returns of several assets are available and the risk–return trade-off is to be described.
- A long-only or weight-bounded allocation that minimises variance is to be computed.
- A shrinkage covariance (Ledoit–Wolf) is preferred because assets are many relative to periods.
When to use something else
- Only the risk contributions of an existing allocation are needed; use Portfolio Risk Decomposition.
- Mean estimates are too noisy to trust; use risk-parity weights or minimum variance only.
Assumptions and requirements
- Sample means and covariances represent the future distribution of returns.
- Investors care only about mean and variance of portfolio return.
- Returns are equally spaced so one annualisation factor applies.
What the analysis reports
- Weights of the minimum-variance and maximum-Sharpe (or target-return) portfolios
- Expected annualised return, volatility and Sharpe ratio of each portfolio
- Efficient frontier points and plot
- Annualised mean and volatility of each asset
- Equal risk contribution (risk parity) and hierarchical risk parity weights with each asset's share of portfolio risk
- Optional mean–CVaR portfolio (objective = mean_cvar): weights minimising the conditional value at risk of one-period loss over the historical return scenarios by the Rockafellar–Uryasev linear programme, optionally with a target return, plus a CVaR–return frontier
How to report it
Using Ledoit–Wolf covariance estimates from [value] monthly returns on [value] assets, the long-only maximum-Sharpe portfolio had expected return [value], volatility [value] and Sharpe ratio [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Mean-Variance Portfolio Optimization itself, at the same price.
- Hierarchical Risk Parity Portfolio — objective set to “hrp”
- Maximum Sharpe Ratio Portfolio — objective set to “max_sharpe”
- Equal Risk Contribution Portfolio — objective set to “risk_parity”
- Minimum Variance Portfolio — objective set to “min_variance”
- Maximum diversification portfolio — allocations set to “max_diversification”
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Mean-Variance Portfolio Optimization on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.