投资组合配置优化工具

分类: Uncategorized

Optimize your investment portfolio allocation based on Modern Portfolio Theory (MPT). Balance risk and return by finding the optimal asset weights for maximum Sharpe ratio or minimum volatility.

Portfolio Assets

Asset
Expected Return (%)
Volatility (%)
Action
%
%
%
%

相关性矩阵

Enter the correlation coefficients between assets (values between -1 and 1).

S&P 500
US Bonds
S&P 500
1.00
US Bonds
1.00

Optimization Parameters

%
一般采用相同年期的国债收益率

Portfolio Tools

📊

Presets Library

Load common asset allocation models to start your optimization.

📋

Import/Export Data

Save your work or import data from external sources.

Modern Portfolio Theory & Efficient Frontier

Modern Portfolio Theory (MPT) is a mathematical framework for constructing a portfolio of assets such that the expected return is maximized for a given level of risk. It was pioneered by Harry Markowitz in 1952 and is centered on the concept that an investment's risk and return should not be assessed by itself, but by how it affects the portfolio's overall risk and return.

主要概念

  • Efficient Frontier: The set of optimal portfolios that offer the highest expected return for a defined level of risk.
  • Sharpe Ratio: A measure of risk-adjusted return, calculated as (portfolio return - risk-free rate) / portfolio standard deviation.
  • 分散程度: Combining assets with different return patterns to reduce overall portfolio risk.
  • Correlation: How assets move in relation to each other. Lower correlation increases diversification benefits.

Optimization Goals

  • Maximize Sharpe Ratio: Find the portfolio with the highest risk-adjusted return.
  • Minimize Volatility: Construct the lowest-risk portfolio possible.
  • Maximize Return: Find the highest return portfolio (usually results in a single-asset portfolio).
  • Target Return: Construct the lowest-risk portfolio for a specified return.
  • Target Risk: Construct the highest-return portfolio for a specified risk level.

主要公式

Portfolio Return
E(Rp) = ∑ wi × E(Ri)

The weighted sum of individual asset returns, where wi is the weight of asset i and E(Ri) is its expected return.

Portfolio Variance
σp2 = ∑∑ wiwjσiσjρij

Where wi and wj are the weights, σi and σj are the volatilities, and ρij is the correlation between assets i and j.

夏普比率
Sp = (E(Rp) - Rf) / σp

The excess return (over the risk-free rate Rf) per unit of risk (standard deviation σp).

Diversification Ratio
DR = σp(weighted) / σp

Measures diversification benefit as the ratio of weighted average of individual asset volatilities to actual portfolio volatility.

Limitations of MPT

  • Assumes Normal Distribution: Returns may not follow a normal distribution, especially during market stress.
  • Historical Inputs: Optimization relies on historical data that may not predict future performance.
  • Constant Correlations: Asset correlations tend to increase during market crises.
  • Single-Period Model: MPT optimizes for a single time horizon and doesn't account for changing market conditions.

Despite these limitations, MPT remains a fundamental framework for portfolio construction and risk management.

本工具计算什么

在既定风险水平下,寻求最佳回报的资产配置比重。

公式
组合方差 = ΣΣ wᵢwⱼσᵢσⱼρᵢⱼ,在权重总和为 1 的条件下求最小值
计算示例
两项资产波幅各 20%、相关系数 0.3,各占一半,组合波幅约 16.1%,低于任何单一资产。
何时使用
决定资金如何在多个持仓之间分配,而非逐一考虑。
常见错误
结果的质素完全取决于输入的相关性与回报估算,而两者皆源自未必重演的过去。