A minimum-variance portfolio allocates capital to try to reduce swings in its value. The notebook applies DCC‑GARCH to the seven US stocks known as the Magnificent Seven. It estimates how each stock’s risk changes and how the stocks tend to move together. Those estimates determine the portfolio weights. Original notebook
How extending the sample changes the past
The notebook estimates its parameters on the full series and uses them to calculate weights from day one. We repeated the fit with the first 252 returns. Weights changed on all 252 overlapping dates. On June 5, 2019, for example, Amazon's weight went from −20.06% with the shorter sample to +33.55% with the full sample. Both fits look back at history from their own cutoff dates.
What happened when we froze the fit before investing
The audited version fitted the model on the first 252 returns and froze its parameters. From there, it used closes that were already known to set weights for the next open. The benchmark gave the same weight to each of the seven stocks. Both series were measured from open to open with zero costs and a 0% risk-free rate.
From January 3, 2020 to December 31, 2024, the portfolio gained 253.06% and the equal-weight portfolio gained 511.38%. DCC‑GARCH's annualized volatility was 29.62%, versus 33.48% for the benchmark. Both had a maximum drawdown of about 49.5%. The strategy allowed short positions and the simulation applied zero financing costs.
What the engine measured
Cumulative return
Worst drawdown from a peak
Ratios, with their 95% interval
- Strategy
- Reference: MAG7-EW
- 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 1.00, with a 95% interval of 0.06 to 1.89. Against MAG7-EW, the average annual difference was −12.25%, with a t-statistic of −1.53: it cannot be told apart from zero.
When the same returns were resampled in blocks, the cumulative return fell between 23.68% and 919.34% in the central 90%, and the worst drawdown between 23.62% and 55.03%. 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 model.