I am trying to understand universe selection when running live.
I want to support "quick starts" for debugging purposes, i.e. basically starting up my algo (which ordinarily trades at start of day) and treat the current time as the start of day if exchanges are open. In addition, I want to be able to start it after midnight (during which universe selection ordinarily occurs, if my understanding is correct), but before market opens and have a selected universe. All of this is because it's very improductive to sit around and wait a day or more when trying to figure out why live version is running differently than backtest.
Secondly, how does the limit on number of securities mix with universe selection? Besides that, I haven't found a place that lists the number of securities possible for each resolution and instance type (aside form when ordering, but one needs to know about it earlier than that). It would be very useful to have a matrix somewhere that listed instance type versus resolution for supported number of securities.
Petter Hansson
Oh and w.r.t. to the middle paragraph, the question is: When can I expected to see universe selection called when running live? It appeared to acquire just a small set of securities when I started it during market hours today. (Of course, I can live this running and hope it goes active for real on Monday, but it's pretty frustrating to wait.)
Jared Broad
We can do quick starts with history & warm up but currently not for history. It is a pretty cool idea and relatively easy to add so we'll do some brain storming and add it to the todo list if it doesn't break anything :)
We run the universe selection every day around 4am once the equity data from the previous day is processed and ready to go. This is then piped into your live algorithm. The coarse universe data is piped in first and then the fine data arrives after that.
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.
Petter Hansson
Thanks Jared. Does this mean that if I start algo after 4am, I have to wait until next 4am to get algorithm filled with a new universe? Also, how are weekends handled?
Jared Broad
4am after the trading day yes. So Saturday 4am Friday's data arrives, Tuesday 4am Monday's data arrives. The specific hour depends on when Morning Star publishes the data.
Yes you have to wait if deploy after the market has opened. You can setup your universe how you like if you'd like to hack it together intraday but that is too risky for us to make mainstream.
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.
Liu Jin
Hi Jared, I am also very interested in the feature described in this post: I would like to get the most up to date universe selection data available as soon as I deploy my algo live, without waiting 4am in the morning. The reason is that if the algo fails for some reason and I need to re-deploy it, this basically means I am out of trading for that day. Also, live-demo debugging of the algorithm initialization is really slow.
Has this feature been implemented or is it in the backlog? If it hasn't been implemented, you mentioned a hack in your previous message, could you please elaborate on it? Thanks!
Liu Jin
(I wanted to edit my previous comment but I couldn't. What I'd like to do is exactly what described as "immediate unverse selection" on: https://www.quantconnect.com/docs/live-trading/universe-selection )
Jared Broad
Thanks Liu, we're working hard to make it happen! =) We always have to fix bugs and solve stability before building features so sometimes it takes a little while. Closing this thread as that docs section didn't exist in 2017;
For future live universe selection questions please refer to:
https://www.quantconnect.com/docs/live-trading/universe-selectionÂ
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.
Petter Hansson
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!