Projects

Things I've built

Two systems I built — one in systematic trading infrastructure, one in multi-model risk prediction.

Systematic Trading Research Platform

A modular Python framework for quantitative portfolio management: the full stack from factor estimation to constrained optimization to walk-forward execution, with every step grounded in theory and covered by automated tests.

Factor Models
PCA/PPCA-based statistical factor models with missing data handling (listwise delete, forward fill, EM), loading imputation, real-time diagnostics tracking.
Risk Models
Fundamental risk models, currency risk rebasing, linked multi-horizon covariance estimation.
Volatility
GARCH(1,1), DCC (Dynamic Conditional Correlation), realized volatility estimators, stochastic time-varying uncertainty (STVU).
Portfolio Optimization
Mean-Variance Optimization (three equivalent formulations), Factor-Mimicking Portfolios, factor-neutral idiosyncratic-space portfolios, IC / Fundamental Law analytics.
Constrained & Robust MVO
CVXPY solver supporting 10 constraint types (long-only, turnover, tracking error, factor exposure, etc.) with progressive degradation and KKT dual diagnostics. 5 robust approaches for estimation error.
Execution
Walk-forward backtesting with transaction cost modeling, Sharpe CI, autocorrelation adjustment, backtest hygiene checks.

The constrained MVO solves the standard mean-variance problem with active weight penalties and a full constraint set:

$$\max_{w} \; \alpha^T w \;-\; \frac{\lambda}{2}\, w^T \Sigma\, w \quad \text{s.t.} \;\; Aw \leq b,\;\; \|w - w_0\|_1 \leq \tau$$
where \(\alpha\) is the expected return vector, \(\Sigma\) the risk model covariance, \(\lambda\) the risk aversion parameter, and \(\tau\) the turnover budget. The solver uses a sparse epigraph formulation for \(n=2000+\) assets and falls back through a Cholesky → ridge → pseudo-inverse chain for numerical stability.

For spiked covariance structures (low-rank factor model + diagonal idiosyncratic), the platform uses the Woodbury-Sherman-Morrison identity for O(n) solves instead of inverting the full \(n \times n\) matrix:

$$(\Sigma_{\text{idio}} + B F B^T)^{-1} = \Sigma_{\text{idio}}^{-1} - \Sigma_{\text{idio}}^{-1} B \left(F^{-1} + B^T \Sigma_{\text{idio}}^{-1} B\right)^{-1} B^T \Sigma_{\text{idio}}^{-1}$$
This reduces the inversion from \(O(n^3)\) to \(O(nk^2)\) where \(k \ll n\) is the number of factors — critical when optimizing over 2000+ assets with daily rebalancing.
80K+
Lines of Python
1,100+
Automated tests
10
Constraint types
Python CVXPY NumPy GARCH / DCC Woodbury Walk-Forward Monte Carlo

Hierarchical Ensemble Prediction with Belief-Propagation Fusion

A hierarchical ensemble in which LSTM, graph neural network, and probabilistic models each read one physiological subsystem, and belief propagation fuses their outputs into a single risk assessment. The application is clinical (early detection of preeclampsia), but the architecture is domain-agnostic: it's the same fusion pattern that applies to any decision built from several partial, noisy signals.

Across four subsystems it reached an AUC of 0.963 on 2,847 patients at three sites, against a 0.890 baseline. In a prospective trial of 500 patients it caught events 14.3 days earlier than standard care (p < 0.001). INT8 distillation then shrank the model by 93% while keeping accuracy within 1.2% of the original.

0.963
AUC-ROC
14.3 days
Earlier detection
93%
Smaller after distillation
Belief Propagation LSTM GNN Knowledge Distillation INT8
Background

Education & toolkit

Education
Stanford University
B.S. Mathematics
2017 — 2022
Stochastic CalculusMachine LearningConvex OptimizationMathematical FinanceNumerical Linear AlgebraAlgorithmsDistributed Systems
Honors
  • 🥇
    WorldQuant Challenge
    Gold
  • 🤖
    Zhang Wentian Prize
    Mathematical Robot Competition · 1st of 16,000+
  • 🎤
    CES 2026
    Presenter
ML / AI
PyTorch TensorFlow XGBoost LightGBM LangGraph HuggingFace LoRA/QLoRA vLLM ONNX Runtime
Quant & Optimization
NumPy pandas SciPy statsmodels CVXPY MOSEK OR-Tools
Infrastructure
Docker Kubernetes Redis PostgreSQL MLflow Milvus AWS Linux
Languages
Python C++17 OCaml R SQL