Hello, Amother newbie question. I see the guide recommending trying out in the local visual studio, but I don't see the actual steps. Is there a lib that I can included so at least I can compile locally? Is there a setup that includes some sample data that I can run locally to verify the logic is correct before doing a back test in the cloud? Thanks!
T Z
Click the 'Lean' button at the top of the menu bar of this page, then download the Lean engine from github. Unzip it and there is a readme file.
Kevin W
Great. Thanks TZ.
Stephen Oehler
Kevin, there's also a tutorial on how to get that engine installed and running with example data. 1.) Go to the Backtester 2.) Click the "Help" button on the left 3.) Navigate to Tutorials --> Getting Started That page will show you step by step how to run a job on your computer. It also comes with sample data. Note that the tutorial says that you need to have QuantConnect.Lean.Engine selected as the start up project. This is incorrect. You need to have the QuantConnect.Lean.Launcher selected as the start up for it to work. Good luck :-) -Stephen
Jared Broad
The documentation should be fixed Stephen :) Please send me link if you find any I've missed: https://www.quantconnect.com/support
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.
Kevin W
Yes I was able to run it locally. Thanks guys for the help!
Stephen
Sorry to go back to such an old thread! Having trouble locating this guide. I went to view, other windows, QuantConnect and the backtest window is there (and has all my projects in there) but I don't see the help button. Any ideas? I feel like I'm really close to getting this to work! I've been wanting to get out of the cloud building platform, although it is very nice, for quite some time!
Douglas Stridsberg
Hi Stephen. Not sure what you're trying to do - are you trying to code and compile locally or are you just trying to code locally and then ship the files off to QC for compiling?
For option #1, there's a pretty extensive guide as part of the README on the GH repo on how to set things up.
For option #2, the documentation has you covered - maybe this is the guide you're referring to?
Sergei Laptenok
Hi!Â
I would really want to set up option #2 at Mac, as I find web IDE quite inconvenient. Basically what I want to do is to:Â
1. Code locally in Python with autocomplete etc etc
2. Push the code to QC and run in the cloud.Â
I tried following the doc, but apparently it works only in Windows, or I'm not getting something (I've never used Visual Studio).Â
What are my options?Â
Daniel Chen
Hi Sergei,
Sorry, option #2 is not supported to Mac users for now. Please check out this GH issue for details. Thanks!
Sergei Laptenok
Thank you!Â
What would be your suggestion for local Mac python environment for development for QC even if I need to copy-paste? I'm really struggling with the way autocomplete/suggestions/api reference work in the online IDE.Â
Daniel Chen
Hi Sergei,
I would recommend you download LEAN and Visual Studio for macOS to your local environment. Please follow exactly the instructions here to setup LEAN. Also, since you code in Python, please check out this page too. If you setup correctly, you will see the statistics of the basic template algorithm in your local terminal. In my opinion, that's the best option for mac users now. Thank you!
Diego Munoz
Hello Daniel Chen question for a newbie to QC here. Is it still possible to download QC LEAN using Free tier for local development? I've had some trouble clicking and new GitHub links since they all lead me to a 404 not found page.Â
Thank you in advance for your time.
Derek Melchin
Hi Diego,
Welcome to QC! All tiers have access to Lean for local development. Refer to this readme for installation instructions.
Best,
Derek Melchin
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.
Kevin W
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.
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!