Back

QuantConnect Plugin Desktop Mode

Hi all,

I am trying to setup a QC backtest to run in MSVS using the guide in the link

https://github.com/QuantConnect/Lean

I believe to backtest properly I need the quant connect plugin? When running the plugin: QuantConnect.VisualStudioPlugin (simply double clicking it) I get the error: VSIX Installer Install failer. The install of this extension was not successful for all the selected products. For more information click on the install log link at the bottom of the dialog. This extension is not installable on any currently installed products.

The install log does say Signature Details... Extension is not signed. But I am not sure if there is any other message in the log file.

The guide on the link above reads:

To install QuantConnect plugin build the VisualStudioPlugin project in Release mode. Then go to VisualStudioPlugin/bin/Release and run QuantConnect.VisualStudioPlugin.vsix file. Restart VisualStudio. In VisualStudio go to Tools -> Options -> QuantConnect and set "/Data" value to "Price data path".

VisualStudio plugin writes log data to the VisualStudio activity log, but only if VisualStudio is started with the /log parameter passed to it. To debug the QuantConnect plugin start VisualStudio with the following command:

Update Backtest








Am I doing something wrong when trying to run within visual studio?

Also I am using MSVS 2017 Community Edition

0

I think you'll need to install the VS SDK as well so you can build the project;

https://msdn.microsoft.com/en-us/library/bb166441.aspx

It may be that the community edition does not support plugins. We'll check with the designer - 

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.


Hey Lucas,

Can you provide the full content of the log file?

1

8/30/2017 11:54:19 PM - Microsoft VSIX Installer
8/30/2017 11:54:19 PM - -------------------------------------------
8/30/2017 11:54:19 PM - vsixinstaller.exe version:
8/30/2017 11:54:19 PM - 15.0.396+gef04a54a6a
8/30/2017 11:54:19 PM - -------------------------------------------
8/30/2017 11:54:19 PM - Command line parameters:
8/30/2017 11:54:19 PM - C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe,C:\Lean\VisualStudioPlugin\bin\Release\QuantConnect.VisualStudioPlugin.vsix
8/30/2017 11:54:19 PM - -------------------------------------------
8/30/2017 11:54:19 PM - Microsoft VSIX Installer
8/30/2017 11:54:19 PM - -------------------------------------------
8/30/2017 11:54:19 PM - Initializing Install...
8/30/2017 11:54:19 PM - Extension Details...
8/30/2017 11:54:19 PM -  Identifier         : QuantConnect.VisualStudioPlugin.Company.78181cc8-542a-4330-9bcb-a6369c1c0653
8/30/2017 11:54:19 PM -  Name               : QuantConnect.VisualStudioPlugin
8/30/2017 11:54:19 PM -  Author             : Company
8/30/2017 11:54:19 PM -  Version            : 1.0
8/30/2017 11:54:19 PM -  Description        : Plugin for integration with QuantConnect platform
8/30/2017 11:54:19 PM -  Locale             : en-US
8/30/2017 11:54:19 PM -  MoreInfoURL        :
8/30/2017 11:54:19 PM -  InstalledByMSI     : False
8/30/2017 11:54:19 PM -  SupportedFrameworkVersionRange : [4.5,)
8/30/2017 11:54:19 PM -
8/30/2017 11:54:19 PM -  SignatureState     : Unsigned
8/30/2017 11:54:19 PM -  Supported Products :
8/30/2017 11:54:19 PM -   Microsoft.VisualStudio.Community
8/30/2017 11:54:19 PM -    Version : [14.0]
8/30/2017 11:54:19 PM -
8/30/2017 11:54:19 PM -  References         :
8/30/2017 11:54:19 PM -   -------------------------------------------------------
8/30/2017 11:54:19 PM -   Identifier   : Microsoft.VisualStudio.MPF.14.0
8/30/2017 11:54:19 PM -   Name         : Visual Studio MPF 14.0
8/30/2017 11:54:19 PM -   Version      : [14.0]
8/30/2017 11:54:19 PM -   MoreInfoURL  :
8/30/2017 11:54:19 PM -   Nested       : No
8/30/2017 11:54:19 PM -
8/30/2017 11:54:19 PM - Signature Details...
8/30/2017 11:54:19 PM -  Extension is not signed.
8/30/2017 11:54:19 PM -
8/30/2017 11:54:19 PM - Searching for applicable products...
8/30/2017 11:54:19 PM - Found installed product - Global Location
8/30/2017 11:54:19 PM - Found installed product - Visual Studio Community 2017
8/30/2017 11:54:19 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable`1& skuData)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
 

0

Am I doing something wrong, I am simply double clicking on: C:\Lean\VisualStudioPlugin\bin\Release\QuantConnect.VisualStudioPlugin.vsix

0

Looks like the 'Supported Products' indicator in the log is suggesting that the only version the vsix will work with is version 14, Community Edition. I think that's VS 2015. I'm fine with using the community edition, is there any known time frame for moving the vsix's compatability forward to VS 2017?

1

We traced it to the same place but VS is having a hard time upgrading; I've put an issue here -- recommend following along. 

https://github.com/QuantConnect/Lean/issues/1104
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