Greetings,
I created the simple algo below to test my understanding of how the new Pipeline API works. The algorithm attempts to compute Parkinson Volatility on the last window_length of data and rebalance into the equities with the bottom 10 volatility values (lowest volatility). I am attempting to combine this factor with market cap to take the largest 2000 names by market cap first, compute the volatility metric for each of those 2000 and rank from high to low. Of that ranking, I want to only use the names with the bottom 10 volatility values.
A few of my specific questions:
- What is the main purpose of the
maskargument in therankmethod - What is the difference between
screening andmasking - How to reduce the population to the top market cap then to the bottom volatility?
I can't seem to get my head around combining these factors and I'm hoping the community can give me some pointers.