This portfolio groups stocks by sector and allocates risk across groups and across companies within each group. The notebook also uses a Bayesian model to estimate how much each stock could return. We replayed it to see what role that estimate plays in setting the weights. Original notebook
The test that isolates the effect of the forecasts
We used the 20 highest-ranked companies in the Financial Times US ranking as of March 28, 2013. The notebook requires an external list with market caps and sectors. With that list fixed, we repeated all 60 weight calculations, replacing the expected returns while keeping the covariance matrix, which measures how the assets move together. 2013 FT US 500
Every weight stayed the same. In this implementation the allocation depends on the estimated covariance and the sector groups. The optimizer receives the forecasts and leaves them unused in its calculation.
What we observed in the portfolio
From January 3, 2014 to December 31, 2018, the portfolio gained 12.56% net, versus 13.73% for URTH. Its annualized volatility was 11.87%, versus 15.20% for the benchmark. The engine used a 0% risk-free rate for both series.
The notebook applies target weights to each daily return and charges costs at scheduled rebalances. The replay keeps that convention and calculates net returns from the equity recorded by the notebook.
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.26, with a 95% interval of −0.51 to 1.08. Against URTH, the average annual difference was −0.66%, with a t-statistic of −0.20: it cannot be told apart from zero.
When the same returns were resampled in blocks, the cumulative return fell between −24.34% and 63.71% in the central 90%, and the worst drawdown between 11.88% and 36.69%. 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.