Back

Opening QuantConnect projects in Visual Studio

Brand new to QuantConnect and trying to get started... I'd like to edit my code in Visual Studio, so I installed the plugin and logged in as described here: 

https://www.quantconnect.com/tutorials/open-source/backtesting-from-visual-studio

In the QuantConnect VS tool window, I see my projects and their associated backtests, but I can't actually figure out how to open the projects in Visual Studio (2017 or 2019). The docs don't seem to mention this, and there is no obvious UI for it. Any tips?

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.


You can't open them in VS. You have to have the code files stored locally already and then push them to the QC cloud using the plug in. 

0

Thanks! Is this process documented somewhere? There are so many ways I could imagine doing this. For example, the most obvious thing is that the VS extension/plugin would include a QuantConnect project template that had the right TargetFramework (e.g. net452) and had NuGet package references for QuantConnect APIs. I checked and there did not appear to be any new project types available in VS related to QuantConnect. So, there could still be NuGet packages, and a search turned up many QuantConnect related packages. I downloaded one and cracked it open and inspected the lib folder to figure out which .NET TFM is supported to know which type of project to create (net452). Then I took a guess and installed a few of the NuGet packages, eventually getting to the point where I had QCAlgorithm available. This is all guess-work and light reverse engineering... is this actually documented somewhere, or do people just figure all these details out?

0

Hi Ryantrem, we're replacing the plugin and the desktop view with an electron application which automatically sync's with the cloud. Its almost done and will just sit idle in the system tray waiting for project changes. We had a lot of tech which was too platform-specific so electron finally offered a cross-platform solution. 

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.


Thanks! The plugin just accesses my online QuantConnect data. So when you say "we're replacing the plugin and desktop view with an electron application which automatically syncs with the cloud," do you mean the electron application will be responsible for syncing the code locally to my computer, but I will still be able to edit it in Visual Studio, or is there going to be a code editor in the electron application as well? My hope is that I can ultimately use Visual Studio to edit my code. If it is just for syncing, has there been any consideration to just storing the code in an authenticated git repo, such that if I want to edit locally I could just authenticate and clone the repo and push/pull as is quite standard with code these days?

0

Thanks Ryan, yes it'll just handle the syncing for now, and ultimately also provide a desktop charting view and other planned features. 

We had git but removed the integration. Once you're familiar with git it feels easy but it's easy to forget how hard it was at the very beginning =) Most people still struggle with git, so we've made it more like a "dropbox"-style application.  

1

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.


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