Hi,
What do you prefer between:
- Programming with PyCharm, sync your code with Skylight and run your tests in the cloud
- Using Lean’s Docker image in conjunction with local development in Pycharm Professional
- Cloning Lean, code with VS, run test locally and debug with ptvsd
Vincent Roye
Or anything else?
Carsten
I'm on a Mac, I found it most convenient to use VS Code and run in the terminal inside VS code ./run_docker.sh run_docker.cfg setting everything to no debug. It then runs it in the container. If it want to debug, I change the settings to debug, both the config.json (debug with ptvsd) and the run_docker.cfg with Y.
Everything fine so far, but the next run is a mess...usually it's better to restart VS code...don't know what im doing wrong...
Vincent Roye
I found out that coding in Pycharm Pro and running the command "./run_docker.sh run_docker.cfg" from the VS debugger command prompt is quite convenient (you can set the default path to avoid changing directory every time).
For Python programming, Pycharm Pro is a bliss and I appreciate the debugger command prompt from VS because it doesn't pop up each time you run a backtest. It stays docked.
Carsten , what do you mean by restarting VS Code?
Vincent Roye
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!