Code for Quantitative Methods in Investment Management