Back to Community
weighting by volatility

Hey all, I have a pipeline that ranks stocks based off a fundamental score and would like to go long the top 100 and short the bottom 100. The problem is I would like to weight the stocks based off their volatility but I can't quite figure it out. Ideally the weights for each long would be the Inverse Vol of that particular stock divided by Inverse Vol sum for all longs and the short weights would be Vol of that stock divided by sum of vol for all shorts Thanks in advance for any help you can give!

Loading notebook preview...
Notebook previews are currently unavailable.