Back

How to abort a backtest?

I added sample test with SetUniverseSelection(new QC500UniverseSelectionModel()); and then backtest for this oen runs for very long time. How do I abort/stop these backtests?

69747_1557636736.jpg

I'd assume that closing those backtest tabs would abort tests, but no, this doesn't not work, tests keep running, and the most importantly, after i close these tabs and edit code, these tabs show up by themselves and steal the focus while I was typing. Extremely annoying.

And the other unrelated question: it seems that I cannot find any good explanation on stocks selection or available api. I see this QC500UniverseSelectionModel, but it's totally useless for me (eg I'd like to learn stuff, but I don't want to see any frameworks like alpha or universelection, I want to experiment with basics for now). It hides all info that I actually want to see and experiemnt with. Just like simple beginner tutorial asks to set start/end date, set cash and add equity, I would like to see the same simple tutorial where to select stocks from and not some one-liners that do it all.

 

 

 

Update Backtest







0

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.


Hi Mike,

You could cancel a unfinished backtest by this:

74665_1557782564.jpg

74665_1557782574.jpg

Here is a great starting point of learning our universe selection. You could find examples and  play around with our sample code snippets. Hope it helps!

1

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.


Update Backtest





0

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.


Loading...

This discussion is closed