Implementation of several permutations of the popular Barra-style risk model using statsmodels.
Easily extended for specific input data specs, additional stored fit values, and further regression types.
https://medium.com/@trbd/cross-sectional-barra-using-statsmodels-373f8e2d5f89