เริ่มต้นใช้งาน
ข้ามไปยังเนื้อหาหลัก

Quant Portfolio Construction

From Statistics to Markowitz to Factor Investing

The heavy-math version of Investment Management 101. Same tools, but you're building optimizers, sizing factor bets, and stress-testing the Markowitz framework against real-world frictions (estimation error, regime change, transaction costs).

Quants, systematic-fund analysts, applied-stats grad students.

เมื่อเรียนจบคุณจะ…
Build a covariance matrix and run Markowitz with shrinkage estimators.
Construct multi-asset efficient frontiers under realistic constraints.
Apply CAPM and SML diagnostics to rank a 30-stock universe.
Stress-test risk decomposition under regime change.
สำรวจแล้ว 0 จาก 6 labs
บันทึกในอุปกรณ์นี้

เส้นทางการเรียนรู้

1
หยุดที่ 1, 25 นาที, Risk & Return
● คุณอยู่ที่นี่
Risk & Return Statistics
Compute E(r), σ², σ, Sharpe, skew, kurtosis from probabilistic or historical data.
Build the inputs: μ vector and σ vector for every asset in the universe.
เปิด Lab →
ตัวอย่างการทำงาน
10y annualized μ and σ for a 5-asset universe.
Assetμ (ann.)σ (ann.)Sharpe
SPY12.5%16.2%0.53
QQQ16.8%21.5%0.60
IWM9.1%20.8%0.25
AGG2.4%5.8%0.07
GLD5.5%16.0%0.09
2
หยุดที่ 2, 30 นาที, Risk & Return
Correlation Matrix
Visualize how assets co-move; quantify diversification benefit.
Estimate the covariance matrix, and shrink it toward identity.
เปิด Lab →
ตัวอย่างการทำงาน
Sample 5×5 correlation matrix (10y daily).
SPYQQQIWMAGGGLD
SPY1.000.920.85−0.180.05
QQQ0.921.000.78−0.150.07
IWM0.850.781.00−0.200.04
AGG−0.18−0.15−0.201.000.18
GLD0.050.070.040.181.00
3
หยุดที่ 3, 20 นาที, Portfolio Construction
Two-Asset Portfolio
Sliders for weights and correlation; see how σ shifts.
Sanity-check the optimizer: 2-asset case has a closed-form solution.
เปิด Lab →
ตัวอย่างการทำงาน
Minimum-variance weights for SPY/AGG with ρ = −0.2
w*₁ = (σ²₂ − ρσ₁σ₂) / (σ²₁ + σ²₂ − 2ρσ₁σ₂)
= (0.01 − (−0.2)(0.20)(0.10)) / (0.04 + 0.01 + 0.008)
w*₁ = 0.21 (MVP weight on stock leg)
4
หยุดที่ 4, 45 นาที, Portfolio Construction
Efficient Frontier
Multi-asset Markowitz mean-variance optimization with tangency portfolio.
Markowitz quadratic programming with constraints + tangency portfolio.
เปิด Lab →
ตัวอย่างการทำงาน
5-asset efficient frontier with 100 random Monte Carlo points.
MTRfσ (vol) →↑ E(r)
5
หยุดที่ 5, 30 นาที, Asset Pricing Models
CAPM Calculator
Live β regression, expected return via Capital Asset Pricing Model.
Run β regressions on the universe and validate vs realized α.
เปิด Lab →
ตัวอย่างการทำงาน
Asset βs vs market: full universe scatter.
SPYQQQIWMβ →↑ E(r) %α > 0 (เหนือ SML)α < 0 (ต่ำกว่า SML)
6
หยุดที่ 6, 30 นาที, Asset Pricing Models
Security Market Line
Plot the SML; find under and overpriced assets via Jensen's α.
Rank the universe by Jensen's α and look for cross-sectional bets.
เปิด Lab →
ตัวอย่างการทำงาน
Top 5 alpha names from a 30-stock screen.
TickerβRealized rCAPM E(r)α
NVDA1.55+28.5%+13.3%+15.2%
META1.32+18.1%+11.9%+6.2%
AAPL1.20+13.8%+11.2%+2.6%
JPM1.05+11.5%+10.3%+1.2%
KO0.65+ 8.1%+ 7.9%+0.2%

นำสิ่งที่เรียนรู้ไปใช้

กรณีศึกษา

When Markowitz breaks: estimation error eats Sharpe alive

Take a 25-asset universe. Run the optimizer with a sample-mean μ and sample-covariance Σ on the first 5 years; allocate per the tangency portfolio. Hold for next 5 years. Realized Sharpe usually disappoints by 30-50% versus in-sample. Why? Sample means have huge standard errors (μ_hat for stocks has σ ≈ 5-10% with 5y of data). Mitigations: (1) Black-Litterman with priors, (2) Ledoit-Wolf shrinkage on Σ, (3) max-weight constraints, (4) resampled efficiency. The Efficient Frontier Lab's constraint controls let you compare unconstrained vs constrained-and-shrunk versions side by side.

กรณีศึกษา

Building a low-correlation 12-asset portfolio: the multi-strat blueprint

Goal: maximize Sharpe with bounded leverage. Universe = SPY + QQQ + IWM + EFA + EEM + AGG + TLT + GLD + SLV + USO + BTC + ETH. Run the correlation matrix. Most pairs sit between 0.4 and 0.9, but BTC-AGG ≈ 0.05 and GLD-EEM ≈ 0.20. Tangency portfolio puts ~30% on BTC, ~15% gold, ~15% TLT, ~10% SPY, rest in EM and small bonds. Implementation note: BTC σ is 60%+, so your tangency weight will be tiny when you include realistic volatility constraints, but the diversification benefit is real. The Efficient Frontier Lab handles up to 15 assets simultaneously.

Quant Portfolio Construction - เส้นทางการเรียนรู้ - Blockcircle Labs | Blockcircle