If you buy several funds that tend to rise and fall together, you can end up repeating the same exposure. This strategy maps how 47 funds and stocks moved over the previous 60 sessions. It keeps a network of connections between assets, groups them, then allocates capital based on risk within and across groups. Original notebook
The notebook reviews weights every 21 sessions, simulates trades at the next open and values positions at the close. The replay keeps the commission, spread and market impact assumptions from the code. URTH, a developed-market equity ETF, serves as the benchmark and is also eligible for the portfolio.
The Sharpe printed by the notebook
To calculate portfolio Sharpe, the notebook subtracted $100,000 in starting capital from an annual return rate. For URTH it subtracted a 2% risk-free rate. The engine recalculated both Sharpe ratios using the same 2% rate and observation frequency.
From the close on December 31, 2020 through the close on December 31, 2024, MST‑HRP returned 2.01% net, versus 38.19% for URTH. Annualized volatility was 8.74% versus 15.91%. The recalculated Sharpe was −0.13 for MST‑HRP and 0.46 for URTH. Over this period, the clustered portfolio had smaller fluctuations and a lower net return.
The comparison uses split-adjusted prices and excludes dividends. The replay preserves the notebook’s order sizing, including its zero financing cost when the cash balance falls below zero.
What the engine measured
Cumulative return
Worst drawdown from a peak
Ratios, with their 95% interval
- Strategy
- Reference: URTH
- Resampling range or 95% interval
Source: technical report of the test, linked below. Prices exclude dividends; the resampling uses the same historical series.
The technical report adds the margin of error to these figures. The Sharpe of the strategy was −0.13, with a 95% interval of −1.17 to 0.84. Against URTH, the average annual difference was −8.50%, with a t-statistic of −1.59: it cannot be told apart from zero.
When the same returns were resampled in blocks, the cumulative return fell between −23.37% and 36.97% in the central 90%, and the worst drawdown between 9.05% and 31.68%. What that resampling measures is explained in Block bootstrap and permutation Monte Carlo.
Audit reports

How to read this document is explained in the guide to the technical report.
How to read both documents is in the guide to the technical report.
See Strateva’s services to audit a portfolio strategy.