Back

Backtesting Not Working?

I can open any project (like this cloned attached one) and it fails to work because it gets stuck on Analyzing Strategy or Launching Backtest... I have tried on multiple projects and I know I have just started coding today so I haven't reached any limits. Can somone replicate this issue or tell me how to fix it? I've tried clearing browser cache, etc. Help!!

Update Backtest








Hi Chris; we're in the process of upgrading the cloud. There were delays of about 20 minutes at one point but all backtests were processed - 

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.


Jared,

Now I'm getting the following error on an algo that was executing Back Tests just fine about 30 minutes ago:

"Unhandled exception breaking past controls and causing collapse of algorithm node. This is likely a memory leak of an external dependency or the underlying OS terminating the LEAN engine."

https://github.com/QuantConnect/Lean/blob/master/Launcher/Program.cs
Here is the code that I found that outputs the message (lines 103-115):

// if the job version doesn't match this instance version then we can't process it

// we also don't want to reprocess redelivered jobs

if (VersionHelper.IsNotEqualVersion(job.Version) || job.Redelivered)

{

Log.Error("Engine.Run(): Job Version: " + job.Version + " Deployed Version: " + Globals.Version + " Redelivered: " + job.Redelivered);

//Tiny chance there was an uncontrolled collapse of a server, resulting in an old user task circulating.

//In this event kill the old algorithm and leave a message so the user can later review.

leanEngineSystemHandlers.Api.SetAlgorithmStatus(job.AlgorithmId, AlgorithmStatus.RuntimeError, _collapseMessage);

leanEngineSystemHandlers.Notify.SetAuthentication(job);

leanEngineSystemHandlers.Notify.Send(new RuntimeErrorPacket(job.AlgorithmId, _collapseMessage));

leanEngineSystemHandlers.JobQueue.AcknowledgeJob(job);

return;

}

0

It's working again. Thanks!

0

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