Hi,
I know there is guide to run Lean in IDE Visual Studio. But is it possible also with lightweight editor Visual Studio Code?
Thanks for info
Petr
I am getting many errors like that:
[info]: OmniSharp.MSBuild.MSBuildProjectSystemLoading project: c:\Users\petr\Desktop\00000\Lean-master\Engine\QuantConnect.Lean.Engine.csproj[fail]: OmniSharp.MSBuild.ProjectFile.ProjectFileInfoThe reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies.
Michael Manus
I have never tried it but i think you would at least need nuget to get the dependencies?
My only idea is to run it at least once with normal visual studio and then work with vs code? maybe it works
you would need to follow the python install documentation at least once and get it to run like that.....
Peter Cherry
Hi,
I installed VS Community and was able to run example strategies even with Backtesting-Desktop charting:)
Anyway, Visual Studio Community is overkill for me, I would like to write Python strategies and not to bother with this huge VS stuff.
Maybe noob qustion, but is it possible to run/compile Lean without VS Studio at all? And just to foucs on editing Strategies?
Thanks
Petr
Moeh12
It's now 2020. Is VS Code supported or is Visual Studio still the way to go?
Jared Broad
Lean is an independent software package, it needs a C# compiler to run locally. It is independent of the development environment. 99% of the exceptions posted are not restoring the NuGet dependencies which is the first step in getting it to build. We know LEAN builds and pasts all tests via TravisCI.
We highly recommend if not familiar with NuGet/building to use the docker container as it skips build this locally yourself. With docker it is: "docker pull quantconnect/lean:latest" and you'll have a lean launcher installed and ready to go with the Python or C# environment ready to go. You will need to know the basics of docker though! =)Â
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.
Moeh12
Jared Broad Thanks for advice!
Derek Melchin
Hi Neel,
To setup autocomplete in VS Code, follow this readme. To resolve the i/o timeout error, refer to the Docker documentation.
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.
Peter Cherry
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!