I'm debugging something with my DO implementation (gist of the issue is, in my backtesting, performance of the DO drops significanly with lowering the capital, eg. from a 1.14 SR for a Jumbo portfolio to 0.91 SR for DO with 800K, for the same forecasts), I think I narrowed it down to correlation and covariance calculation.
Rob, I wanted to ask, what's the difference between `instrument_correlation_estimate` key in the config (https://github.com/robcarver17/pysy...d514549e2cf/sysdata/config/defaults.yaml#L226) and `instrument_returns_correlation` 50 lines below, besides obviously the parameters? I see that the latter one is used in reports, so the correlations on the risk report are not the same as the ones used in the DO run (besides obviously not being shrunk).
If I read the code correctly, I think the former is used in the DO run, with `floor_at_zero` set to false. Also, since the lookbacks are so short (25/75 weeks), the roll years parameter is irrelevant, is that right?
Thank you in advance!
Former is for the correlation of substrategy returns, latter is the correlation of the underlying instrument returns. So the latter is more appropriate for a risk report, and DO calculations. The former you'd use for IDM estimation and instrument weight estimation.
Rob
) and was reasonably priced, I gave up. Would be very interested in the refreshed version with buffering though.