Portfolio construction Interactive example

Explore the
portfolio trade-off.

Move the controls and watch a small mean–variance model reallocate. Illustrative data; it runs in your browser.

Fig. 01 / Allocation under your limitsRuns in your browser

Investment universe

Portfolio constraints

Higher values put more weight on reducing modeled variance.

The minimum cap depends on the number of assets.

What this example computes

Maximize wᵀμ − (λ/2)wᵀΣw subject to a net weight of 100% and the selected position bounds. The short-enabled mode permits negative weights within the same absolute cap.

Returns, volatilities, and correlations are fixed illustrative assumptions. Taxes, transaction costs, market execution, and financing costs are excluded. This is an educational model, not investment advice or an ASYMMETRY Computing benchmark.

Computed allocation

Model return / yr
—
Model volatility / yr
—
Model Sharpe
—
Positions
—
Preparing the browser example…
Net allocation —Gross exposure —

01 Model comparison

Compare the assumptions.

Three allocations, one illustrative 24-month scenario with the same seeded shocks.

Fig. 02 / Growth of 1, three allocationsIllustrative

Selected allocationReturn-leaning baselineEqual-weight allocation

The return-leaning baseline uses λ = 1.4, long-only positions, and an 85% cap. Equal-weight assigns 1/N to each asset. A 4% assumed risk-free rate is used for Sharpe ratios. These simulated paths are not historical backtests or measured ASYMMETRY Computing performance.

Bring your own portfolio problem.

A pilot starts from your own objective, constraints and acceptance criteria.