Back

Why does my option algo get runtime error?

I'm new to QuantConnect and C# programming. I modified the 

https://www.quantconnect.com/tutorials/applied-options/bull-call-spread

strategy to include SPY weekly options. But the algorithm hits this "Runtime error: Algorithm took longer than 10 minutes on a single time loop." I'm wondering what can the problem be.

Thanks a lot in advance. 

 

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,

same here. I am getting since a couple of days a

Runtime Error: Algorithm took longer than 10 minutes on a single time loop. CurrentTimeStepElapsed: 10.0 minuteswithout changing the algo, which worked before just fine. @QC: Did you chage something on the available server resources?Thx. 
1

Hi all,

The same thing happened to me. I am glad to hear I am not the only one, at least there is some chance that it is not my code :)

0

Please send support@quantconnect.com an email or we cant help fix it :)
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.


FYI yesterday I have reported the issue to support and Alex and Martin solved in less than 1 business days. 

After your solution I was able to run a backtest with options for more than 6 years without any problem, while before the issue I couldn't more than 2 weeks. You guys shines like a diamond. 

1

Gabriel, after you opened your support case, was there a place you can track the progress? I reported my case, but there was no return email or anything that I can trace. So I still don't know whether my report was submitted successfully.

 

0

after reporting, my issue was resolved yesterday, I found out after re-testing.

0

Hi Ke Shen. QuantConnect sent me a github issue to track.  Anyway, you can always check it by yourself all the issues that are  being created. Below you have the  links  for this  issue specifically

https://github.com/QuantConnect/Lean/issues/3885

 

https://github.com/QuantConnect/Lean/pull/3886

 

 

0

=) Thanks Gabriel

@Ke Shen -- Normally you should get an email response confirming receipt of the support request. I see no record of your request in any systems, please resubmit it. 

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.


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