Hello, I m new on quantconnect and I m having some issues to start developing strategies. Yesterday, I was using the cloud IDE for python and I got stuck on simple things as I can't see syntax highlighting. On the another hand I download Skylight, to use it on the local, however it doesnt highlight the API syntax. Hoewever, I can see how some people is being able to work properly. so my question is, what is normally people using to develop the strategies ? are you coding straight to the cloud, or working on local and then sync with skylight ? thanksÂ
Aaron Janeiro Stone
For local coding, should you wish to use the QC cloud for computation, most will utilize the stubs in Algorithm.Python/stubs such that their IDE will be able to "fill in blanks". Depending on your IDE, the stubs can be automatically detected - for example, IIRC, VS Code will be able to automatically detect them should your python file be located in Algorithm.Python/. Pycharm might require you to mark stubs/QuantConnect as a sources root folder. Then, once ready to use the QC cloud, merely push the files and begin the backtest. I personally use quantconnect-cli and the process for me is as simple as inputting "qcli files:push && qcli backtests:new " into my terminal.
Â
Edit: it should be mentioned that I find local editors to be less forgiving for imports; you will need to specify addreference/clr/quantconnect imports as the example files in Algorithm.Python on github do/
Ruben Ruiz
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!