Multi-Asset MVO Portfolio Optimizer with Backtesting

Multi-Asset Mean-Variance Optimization

Multi-Asset MVO Portfolio Optimizer

ETFs: SPY, IWM, EFA, VWO, GLD, TLT, HYG, EMB, CEMB, IYR  |  Data through 2026-03-06  |  10 assets

  1. This model uses mean-variance optimization (MVO), a framework developed by Harry Markowitz (1952) and extended by Robert Merton. It finds the portfolio allocation that maximizes return for a given level of risk, or minimizes risk for a given return target. Two optimized portfolios are computed: a long only portfolio (no weight constraints) and a constrained portfolio with a maximum allocation of 25% per asset. Note that MVO is a return seeking model and may not be suitable for all investors, such as pension funds or insurance companies. For more details, view documentation.
  2. This is an asset allocation model. It determines how much weight to assign to each asset class, not which individual stocks to pick. If you're interested in stock selection, .
  3. The model uses historical returns to estimate expected returns and covariances, so it will naturally concentrate in assets that had high past returns with low covariance. If you believe future returns will differ from the past or have your own capital market expectations, .
  4. A default set of 10 asset classes is pre-selected, but there is a wider list of 31 to choose from. You can check how removing or adding assets will impact the Sharpe ratio in both portfolios before applying. Be careful not to select asset classes that overlap in their underlying holdings, a warning will appear if you do. To see how overlap groups were determined, .
  5. If you have specific constraints or already hold a portfolio with certain assets, you can define the minimum and maximum allocation for each selected asset class in the interactive constraint simulator. .

Asset Class Overlap Analysis

Research based assessment of which ETFs in the 31 asset universe have significant holdings overlap or redundant factor exposure. 1. US Large Cap Cluster: SPY, QQQ, VIG • QQQ top holdings (AAPL, MSFT, NVDA, AMZN, META, GOOGL) represent ~30% of SPY • VIG (Dividend Growth) is heavily weighted to large cap US stocks that overlap SPY • Selecting all three concentrates ~60 70% of combined exposure in the same mega caps 2. Developed ex US Broad vs Country: EFA, EWJ, VGK, EWL • EFA (iShares MSCI EAFE) already contains Japan (~20%), Europe (~60%), Australia • EWJ, VGK, EWL are each subsets of EFA • Selecting EFA + country ETFs double counts those regions 3. Europe Sub Overlap: VGK, EWL • VGK tracks FTSE Developed Europe, which includes Switzerland at ~15% weight • EWL is pure Swiss equities. Selecting both means ~15% of VGK duplicates EWL 4. EM Broad vs Country: VWO, FXI, INDA, EWZ, EWY, EWT, EWW • VWO contains: China ~30%, India ~20%, Brazil ~5%, Taiwan ~18%, S. Korea ~12%, Mexico ~2% • Each country ETF is a subset of VWO. Useful for tilting, not adding alongside 5. World Index vs Everything: ACWI, SPY, EFA, VWO • ACWI = ~60% US + ~28% Dev ex US + ~12% EM • It already contains SPY, EFA, and VWO. Best used as standalone global allocation 6. Precious Metals / Commodities: GLD, SLV, DBC • GLD and SLV both driven by real interest rates, USD, and safe haven demand (~0.85 correlation) • DBC (Commodities) includes ~10% precious metals allocation, overlapping with GLD • Silver has higher industrial use (~50%) vs gold (~10%) 7. US Corporate Bonds: HYG, LQD • HYG = high yield (junk) bonds, LQD = investment grade corporate bonds • Both are US corporate credit; ~0.75 0.85 correlation depending on regime 8. Energy / Commodities: DBC, XLE • DBC is ~55% energy (crude oil, natural gas); XLE tracks US energy companies • Both heavily driven by oil prices. Selecting both concentrates energy exposure 9. Hedge Fund Strategies: QAI, MNA • QAI = multi strategy hedge fund replication; MNA = merger arbitrage • Merger arb is one component of the multi strategy approach QAI tracks
1.860▲ +0.844 vs SPY
Long-Only Max Sharpe  |  Ret 27.91%   Vol 13.08%
1.747▲ +0.731 vs SPY
Constrained Max Sharpe  |  Ret 16.91%   Vol 7.62%
0.891▼ -0.125 vs SPY
Long-Only Min Variance  |  SPY Sharpe: 1.016
1.140▲ +0.607 vs SPY
Long-Only Max Sharpe  |  Ret 19.34%   Vol 13.70%
0.752▲ +0.219 vs SPY
Constrained Max Sharpe  |  Ret 10.27%   Vol 8.71%
-0.191▼ -0.724 vs SPY
Long-Only Min Variance  |  SPY Sharpe: 0.533
0.792▲ +0.258 vs SPY
Long-Only Max Sharpe  |  Ret 13.77%   Vol 12.18%
0.576▲ +0.041 vs SPY
Constrained Max Sharpe  |  Ret 9.11%   Vol 8.64%
0.071▼ -0.463 vs SPY
Long-Only Min Variance  |  SPY Sharpe: 0.534

Asset Statistics

Click to select/deselect asset classes. Green = included in model. Minimum 3 assets.

AssetTickerAnn. Return (%)Ann. Vol (%) SharpeVaR 95%CVaR 95%SkewnessKurtosisMax DD (%)
US Large CapSPY18.8715.051.0161.422.130.63519.448-19.21
US Small CapIWM11.2021.210.3591.992.860.1533.186-28.23
Dev. ex-US EquityEFA14.8414.490.7761.391.99-0.0929.626-14.33
EM EquitiesVWO13.6015.390.6501.502.14-0.0954.786-18.07
GoldGLD34.6019.111.6231.582.76-1.20511.647-14.49
US Long BondsTLT-0.7914.56-0.3011.552.06-0.0980.673-23.07
High Yield BondsHYG8.145.450.8360.490.720.4896.265-4.59
EM Govt BondsEMB9.227.440.7560.721.040.0182.291-8.04
EM Corporate BondsCEMB6.904.350.7610.410.62-0.4224.069-3.88
Real EstateIYR7.4417.230.2231.812.55-0.1202.577-17.87
AssetTickerAnn. Return (%)Ann. Vol (%) SharpeVaR 95%CVaR 95%SkewnessKurtosisMax DD (%)
US Large CapSPY12.7516.950.5331.662.490.1418.377-26.22
US Small CapIWM3.9922.640.0122.283.120.0271.648-35.07
Dev. ex-US EquityEFA8.7216.070.3111.572.220.0755.106-30.94
EM EquitiesVWO4.4717.110.0441.692.360.1633.895-34.62
GoldGLD22.1017.311.0621.582.48-0.95910.553-21.48
US Long BondsTLT-5.7415.91-0.5951.692.18-0.0120.449-45.60
High Yield BondsHYG3.817.470.0120.721.11-0.0256.333-16.25
EM Govt BondsEMB2.639.73-0.1121.001.430.2724.212-29.43
EM Corporate BondsCEMB2.145.63-0.2800.560.85-0.2767.193-20.76
Real EstateIYR5.2018.690.0792.052.73-0.0502.537-36.67
AssetTickerAnn. Return (%)Ann. Vol (%) SharpeVaR 95%CVaR 95%SkewnessKurtosisMax DD (%)
US Large CapSPY13.7017.910.5341.682.80-0.61615.677-35.75
US Small CapIWM9.7523.050.2442.103.39-0.7269.092-44.63
Dev. ex-US EquityEFA8.4217.200.2491.542.56-1.18616.966-37.01
EM EquitiesVWO7.7919.200.1911.832.82-0.92911.464-40.27
GoldGLD13.8315.670.6191.512.28-0.7169.370-23.89
US Long BondsTLT-0.9514.91-0.3411.482.070.0205.080-51.11
High Yield BondsHYG4.958.310.0980.681.22-0.10926.605-22.54
EM Govt BondsEMB3.469.99-0.0670.851.50-2.64542.662-29.43
EM Corporate BondsCEMB3.956.44-0.0280.520.95-1.94335.171-21.22
Real EstateIYR5.7620.450.0801.843.07-1.49024.449-45.03

Portfolio Summary

PortfolioReturn (%)Volatility (%)SharpeVaR 95%CVaR 95%US Large CapUS Small CapDev. ex-US EquityEM EquitiesGoldUS Long BondsHigh Yield BondsEM Govt BondsEM Corporate BondsReal Estate
Long-Only Max Sharpe27.9113.081.8601.131.8742.5%0.0%0.0%0.0%57.5%0.0%0.0%0.0%0.0%0.0%
Long-Only Min Var7.564.460.8910.410.610.0%0.0%0.0%0.0%0.6%0.0%40.4%0.0%59.0%0.0%
Constrained 25% Max Sharpe16.917.621.7470.641.0722.7%0.0%0.0%0.0%25.0%0.0%25.0%2.3%25.0%0.0%
Constrained 25% Min Var10.856.181.1730.570.856.8%0.0%0.0%3.2%9.0%6.0%25.0%25.0%25.0%0.0%
PortfolioReturn (%)Volatility (%)SharpeVaR 95%CVaR 95%US Large CapUS Small CapDev. ex-US EquityEM EquitiesGoldUS Long BondsHigh Yield BondsEM Govt BondsEM Corporate BondsReal Estate
Long-Only Max Sharpe19.3413.701.1401.291.9429.5%0.0%0.0%0.0%70.5%0.0%0.0%0.0%0.0%0.0%
Long-Only Min Var2.655.60-0.1910.540.840.0%0.0%0.0%0.0%1.8%0.0%9.3%0.0%88.9%0.0%
Constrained 25% Max Sharpe10.278.710.7520.891.2525.0%0.0%1.1%0.0%25.0%0.0%24.9%0.0%24.1%0.0%
Constrained 25% Min Var5.137.450.1890.751.032.1%0.0%0.0%2.3%13.6%7.0%25.0%25.0%25.0%0.0%
PortfolioReturn (%)Volatility (%)SharpeVaR 95%CVaR 95%US Large CapUS Small CapDev. ex-US EquityEM EquitiesGoldUS Long BondsHigh Yield BondsEM Govt BondsEM Corporate BondsReal Estate
Long-Only Max Sharpe13.7712.180.7921.131.8042.5%0.0%0.0%0.0%57.5%0.0%0.0%0.0%0.0%0.0%
Long-Only Min Var4.576.150.0710.530.890.0%0.0%0.0%0.0%6.3%4.5%21.8%0.0%67.4%0.0%
Constrained 25% Max Sharpe9.118.640.5760.761.2825.0%0.0%0.0%0.0%25.0%0.0%25.0%0.0%25.0%0.0%
Constrained 25% Min Var5.037.150.1250.681.043.9%0.0%0.0%0.0%13.9%17.3%25.0%14.9%25.0%0.0%

1. Efficient Frontier

Max Sharpe ★ and Min Variance ◆ markers. Capital Market Line from Rf through tangency portfolio.

1b. Cumulative Returns

2. Long-Only vs Constrained 25% — Allocation Comparison

3. Correlation Matrix

4. Allocation vs Target Return

Stacked area: how allocation shifts as target return rises. Red dashed = Max Sharpe.

5. Interactive Constraint Simulator

Set min/max allocation per asset for the Long-Only portfolio. Click Optimize to see the custom-constrained Max Sharpe portfolio. The right panel shows the Sharpe ratio and how it compares to the unconstrained baseline.

6. Strategy Backtest

Walk forward backtest with 3 year rolling lookback (long only, unconstrained). On the last trading day of every month (or every two months for bimonthly), the MVO model is re-optimized using the trailing 3 calendar years of data to find the optimal weights, and the portfolio is rebalanced to these new weights. Most of the time, the asset classes remain the same and the rebalancing simply adjusts the allocation percentages back to the new optimum. Between rebalances, weights drift naturally as prices move. Period: 2019-03-14 to 2026-03-06. Hover over lines for current weights; hover over dots for turnover at each rebalance.

Default: 10 bps (0.10%). Covers bid ask spread and slippage for liquid ETFs.

7. Portfolio Composition Analysis

Why the optimizer selected this allocation, and which assets are close to being included.

Long-Only Max Sharpe — Included Assets

AssetWeightReturnVolSharpeRole
Gold (GLD)57.5%34.60%19.11%1.623High Sharpe — primary return driver
US Large Cap (SPY)42.5%18.87%15.05%1.016High Sharpe — primary return driver

Excluded Assets (top by Sharpe)

AssetSharpeReturnVolReason
High Yield Bonds (HYG)0.8368.14%5.45%High correlation (0.72) with included assets
Dev. ex-US Equity (EFA)0.77614.84%14.49%High correlation (0.75) with included assets
EM Corporate Bonds (CEMB)0.7616.90%4.35%Inferior risk/return vs included assets
EM Govt Bonds (EMB)0.7569.22%7.44%Inferior risk/return vs included assets
EM Equities (VWO)0.65013.60%15.39%Inferior risk/return vs included assets

Long-Only Max Sharpe — Included Assets

AssetWeightReturnVolSharpeRole
Gold (GLD)70.5%22.10%17.31%1.062High Sharpe — primary return driver
US Large Cap (SPY)29.5%12.75%16.95%0.533Good risk-adjusted return

Excluded Assets (top by Sharpe)

AssetSharpeReturnVolReason
Dev. ex-US Equity (EFA)0.3118.72%16.07%High correlation (0.80) with included assets
Real Estate (IYR)0.0795.20%18.69%Low Sharpe ratio
EM Equities (VWO)0.0444.47%17.11%Low Sharpe ratio
High Yield Bonds (HYG)0.0123.81%7.47%High correlation (0.75) with included assets
US Small Cap (IWM)0.0123.99%22.64%High correlation (0.84) with included assets

Long-Only Max Sharpe — Included Assets

AssetWeightReturnVolSharpeRole
Gold (GLD)57.5%13.83%15.67%0.619Good risk-adjusted return
US Large Cap (SPY)42.5%13.70%17.91%0.534Good risk-adjusted return

Excluded Assets (top by Sharpe)

AssetSharpeReturnVolReason
Dev. ex-US Equity (EFA)0.2498.42%17.20%High correlation (0.84) with included assets
US Small Cap (IWM)0.2449.75%23.05%High correlation (0.87) with included assets
EM Equities (VWO)0.1917.79%19.20%High correlation (0.74) with included assets
High Yield Bonds (HYG)0.0984.95%8.31%High correlation (0.78) with included assets
Real Estate (IYR)0.0805.76%20.45%High correlation (0.73) with included assets

MVO Dashboard — Generated 2026-03-09 15:43 — Data: Yahoo Finance — Rf: FRED Yield Curve

David Arias, CFA
Written and Modelled by

David Arias, CFA

Licensed portfolio manager with 4+ years of experience, specializing in emerging markets private debt, derivatives, and quantitative finance.

Let's Connect