Is it possible to write an Algorithm with two universe selection classes where the second universe selection class further refines the first universe selection. In other words I want the common subset of the two universe classes. If I read the documentation correctly I would get the super set of the two classes.
What I want to do: I wrote a fundamental universe selector which runs on daily data. Now I want a second universe selector, which would be a scheduled universe selector, which gives me the biggest gappers after the open of the following day.
Louis Szeto
Hi Melanie
You can set up a scheduled event and implement the logic there:
Note that the filter after market open might be lack of data or susceptible to forward bias.
Best
Louis
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Melanie Schiefele
Hi Louis,
Thank you for answering my question.
I have already tried your suggestion and ran into a different problem. I need to do two more things, other than standard universe selection:
Â
Any kind of help, comments or suggestions are greatly appreciated. If you want to have a look at my source code, I'll be happy to share that, too.
Thanks,
   Melanie
Melanie Schiefele
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!