Back

Run Lean with VSC (Visual Studio Code)?

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.
Update Backtest








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.....

0

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

0

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