this is for my quantitative investment method code