Back

Skylight VS Local Backtesting

Hi all,

I was just trying to understand the tradeoff between backtesting locally on my machine vs sending my code to QC server via Skylight. Is it correct that if I send my code to QC server via Skylight, I will only be able to run atmost one backtest at a time, whereas if I run my backtests locally, there are no such constraints. 

The only benefit I see in running backtests on the cloud is that my code will run on 5GHz machines, and easy access to data. But if I download data locally, and I have a powerful enough machine, maybe it is better to run backtests locally?

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 Kumar,

The number of backtests run concurrently is determined by the user’s tier (more information here), so Prime subscriptions can run up to two backtests at a time, while Professional subscriptions can run up to four backtests at a time, and there is no limit when running LEAN locally.

Sourcing and constantly updating data may be challenging, however, for users with sufficient resources, running backtests locally is 100% viable. 

Best,
Shile Wen

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 Shile,

Thanks for your response. Based on the answers here 

https://www.quantconnect.com/forum/discussion/6258/when-running-lean-locally-is-it-possible-to-source-data-from-quantconnect/p1

it seems that it is not possible to get all the data in a local LEAN environment. Is there any way data can be sourced locally (even if it might be time consuming or computationally demanding)?

Thanks,
Amulya

0

Hi Kumar,

I am not sure what asset class you would need data for, but for identical data in equities, try QuantQuote (docs- under data library, we state the provider for each asset class). However, if sourcing equities data from a different source, users would need to convert the data according to this guideline (the guidelines for other asset classes can be found in the same parent folder).

Best,
Shile Wen

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