Hello my beloved community!
I am extremely new to universes and am seeking some help!
I am hoping to create a universe that returns equities that:
- have an open price at least 1% higher than the previous days high
- has avg volume traded in the millions
I am so appreciative of all the hard workers on this platform. Thank you guys for taking the time to read this!
Best,
Jesse
Nico Xenox
Hey Jesse Fleming,
you could copy the screeners that were already made by other people and change the values. For example:
You can start here by trying to understand it and then change the values.
Hope it helps ;)
Jesse Fleming
Okay yes this is very very useful my brother. One thing that pops into my mind is this:
This particular example is under a class named ‘Universe Selection’. I were to attempt to do something similar, do I have everything in one class, or is the universe selection one class, and then the entries and exits in another or how does that work?
In short, if I want universe selection, is it combined with the strategy class or must they be separate?
Nico Xenox
Jesse Fleming,
if you’re referring to the second class in the example, no, you don’t have to do it in two separate classes. It will make your life easier though because all symbols will have a different value in self.LastClose and self.Gapup.
If you want to do it all in one class you will have to work with dictionaries that have these values for each symbol.
Hope it helps ;)
Jesse Fleming
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!