LEAN is the open source
algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a
global community of 80+ engineers and powers more than a dozen hedge funds today.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
I have a question about opening up the backtest result.
Say I am running a backtest which would take several hours.
If I close the browser window where I triggered the backtest, and open quantconnect website again, I can see backtest server is still in use.
I believe the backtest that I've triggered is still running, but if i open up the backtest result from the result tab to see the result being updated, the graph and all backtest result has just stopped updating and stays where it was when i close the window.
I can't tell if backtest is actually running because my backtest takes several hours and just waiting is time-consuming.
1. In such case, will backtest result will show when the backtest is finished?
2. Is there any way to have it update result intermittently?
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.
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.
Taeyoung Kong
135
,
It looks like the cause is that I pull too much data using history.
However, it suddenly happens after 2 hours backtest and undeterminisitc, so it is really hard to debug.
Any advice on this (supposedly) memory leak issue on the backtest server side due to too much data request using History?
0
Aaron Janeiro Stone
4.7k
,
Instead of running history requests, you can pull the next slice of OHLC data, for example, in the OnData part of your algorithm, saving you a history request call.
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...
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!