Quantitative Investment Strategies Python