Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
code for risk_loading_pipeline, etc. available?

Is the code for risk_loading_pipeline available? And the code for the RiskModelExposure constraint?

I'm suspicious that the short_term_reversal risk factor constraint implementation may be generating a lot of churn, so I'm curious if a better formulation could be devised. I'm thinking that if I can understand how things are done under the hood, I could use the built-in RSI pipeline factor, along with FactorExposure to try a bit of smoothing, still meeting the new contest constraint for short_term_reversal.

Any ideas?

2 responses

One potential approach would be to smooth the output of risk_loading_pipeline (e.g. by taking the mean of the last 3 days).