My understanding is that universe selection occurs sometime after midnight on trading days. If that's the case then I should be able to start an algorithm on Sunday and it should perform universe selection monday after midnight and begin making trades on Monday at market open. However, this is not the case. An algorithm started on sunday will not trade until Tuesday at market open.
Has anyone else found this to be the case?
Jared Broad
The data is passed in after the applicable day; so in your example above the Friday universe data is passed in Saturday 4-6am. Sunday there will be no universe events as no markets are open Saturday.
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.
LukeI
I think I understand but it still seems like you'd get the same end result if instead of updating universes after a trading day, update them before the next trading day begins. There is no trading on saturday or sunday (for most markets) so there's no reason to update the universe after Friday market close as opposed to before Monday open as the friday data should be availible all the same.
Also, I don't know what other people's schedules are but since I work full time during the week I have more free time to work on my algorithms on the weekend. If I release an update to my algorithms it is usually on Sunday night after a weekend of coding
Petter Hansson
That would be nice to reduce down time (although it might require storing raw universe if it's currently not stored and piped in directly?)
Similarly, in order to reduce down time, it would be nice having it cached so first universe selection could take place immediately on start up (if user specified or perhaps it's possible to do this automatically if it's past midnight and trading has been closed). Would lessen amount of frustration when you deploy the algo for live testing and it immediately crashes during universe selecton or during trading day due to Unforeseen Circumstances (TM).
Jared Broad
Thanks guys. Cool idea @Petter; absolutely understand the use case @Lukel. It is reasonably easy to do; I'll add to our todo and see if we can do it in the next few weeks as an opt-in.
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.
LukeI
The pace of improvements never fails to amaze me!
JL Lord
Any update on "immediate universe selection"?Â
I started my algo before 4am EST Tuesday but still receive no universe selection update at 8:30am EST.
It would put me to wonder something goes wrong with my code or something missing...
Jared Broad
Hey there! For all live support please send a ticket to support@quantconnect.com with the live logs attached. Universe selection went out on schedule this morning.
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.
LukeI
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!