Event: Arbitrage Arena 2026 | Problem Statement: Cross-Asset Survivability
Team: TEAM Z

This project implements a Hierarchical Risk Parity (HRP) model to optimize a cross-asset portfolio (Crypto, Equities, Commodities). Unlike traditional Mean-Variance optimization, HRP uses Machine Learning Clustering to allocate capital based on risk hierarchy rather than unstable return predictions.
Key Achievement: The model successfully navigated the 2022 Inflation Crisis, reducing Max Drawdown by 10% compared to the NASDAQ Benchmark while maintaining a higher Sharpe Ratio (0.77 vs 0.67).
- No Look-Ahead Bias: Implemented strict intersection logic to align 24/7 Crypto markets with Mon-Fri Equities data.
- Regime Robustness: Uses
scipy.clusterto identify "Safe Haven" clusters (Gold/Silver) without human intervention. - Stress Testing: Includes specific modules to backtest performance during the COVID-19 Crash and 2022 Rate Hike Cycle.
- Python 3.10+
- Pandas & NumPy: Vectorized backtesting engine.
- SciPy: Dendrogram clustering and distance matrix calculations.
- Matplotlib/Seaborn: Financial visualization.
Note: The raw
.csvdatasets used for this competition are proprietary to Arbitrage Arena 2026 and are not included in this repository.
To run this notebook:
- Place standard OHLCV
.csvfiles (e.g.,BTC_USD.csv,AAPL.csv) in the root directory. - Ensure filenames match the
file_mapdictionary in Cell 2. - Run the notebook cells sequentially.
This project is for educational and portfolio demonstration purposes.