trophy

Long Only, ETF Alpha Streams Competition with $27,500 Prize Pool

Back

Local Visual Studio Guide

Hello,
Amother newbie question. I see the guide recommending trying out in the local visual studio, but I don't see the actual steps.

Is there a lib that I can included so at least I can compile locally? Is there a setup that includes some sample data that I can run locally to verify the logic is correct before doing a back test in the cloud?

Thanks!

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.


Click the 'Lean' button at the top of the menu bar of this page, then download the Lean engine from github. Unzip it and there is a readme file.

1

Great. Thanks TZ.

1

Kevin, there's also a tutorial on how to get that engine installed and running with example data.

1.) Go to the Backtester
2.) Click the "Help" button on the left
3.) Navigate to Tutorials --> Getting Started

That page will show you step by step how to run a job on your computer. It also comes with sample data.

Note that the tutorial says that you need to have QuantConnect.Lean.Engine selected as the start up project. This is incorrect. You need to have the QuantConnect.Lean.Launcher selected as the start up for it to work.

Good luck :-)

-Stephen

0

The documentation should be fixed Stephen :) Please send me link if you find any I've missed: https://www.quantconnect.com/support

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.


Yes I was able to run it locally. Thanks guys for the help!

0

Sorry to go back to such an old thread!  Having trouble locating this guide.  I went to view, other windows, QuantConnect and the backtest window is there (and has all my projects in there) but I don't see the help button.  Any ideas?  I feel like I'm really close to getting this to work!  I've been wanting to get out of the cloud building platform, although it is very nice, for quite some time!

0

Hi Stephen. Not sure what you're trying to do - are you trying to code and compile locally or are you just trying to code locally and then ship the files off to QC for compiling?

For option #1, there's a pretty extensive guide as part of the README on the GH repo on how to set things up.

For option #2, the documentation has you covered - maybe this is the guide you're referring to?

0

Hi! 

I would really want to set up option #2 at Mac, as I find web IDE quite inconvenient. Basically what I want to do is to: 

1. Code locally in Python with autocomplete etc etc

2. Push the code to QC and run in the cloud. 

I tried following the doc, but apparently it works only in Windows, or I'm not getting something (I've never used Visual Studio). 

What are my options? 

0

Hi Sergei,

Sorry, option #2 is not supported to Mac users for now. Please check out this GH issue for details. Thanks!

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.


Thank you! 

What would be your suggestion for local Mac python environment for development for QC even if I need to copy-paste? I'm really struggling with the way autocomplete/suggestions/api reference work in the online IDE. 

0

Hi Sergei,

I would recommend you download LEAN and Visual Studio for macOS to your local environment. Please follow exactly the instructions here to setup LEAN. Also, since you code in Python, please check out this page too. If you setup correctly, you will see the statistics of the basic template algorithm in your local terminal. In my opinion, that's the best option for mac users now. Thank you!

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.


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