↑↓ to select, press enter to go, use esc to exit
  • Pricing
  • Data
  • Community
  • Algorithm Lab Lab Lab
  • Documentation Docs Docs
  • Sign In
Forum

    Platform

  • Alpha Market
  • Pricing
  • Datasets
  • Community
  • Algorithm Lab
  • Documentation

    SIGN IN

  • Sign in
  • Don't have an account? Join QuantConnect Today

  • Sign up for Free

QuantConnect Community

trophy

trophy

Start New Discussion Sign up
Interesting | Newest | Lean | Data Issues | Integration Partners

New Sign up
No Results
  • «
  • 1
  • »
HI Interesting !
HI Newest !
HI Data Issues !

LEAN is the open source algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a global community of 80+ engineers and powers more than a dozen hedge funds today.

trophy

Alpha League Competition: $1,000 Weekly Prize Pool

Qualifying Alpha Streams Reentered Weekly Learn more

| Awards
Loading...
  • «
  • »
 Start New Discussion Sign up

Filter Discussion by Tags


Community Ambassadors

1st

Nico Xenox

Gold Ambassador

Earn free QuantConnect cloud credits by helping others, each week we airdrop credits to the most active community members.


231,863 Quants.

Become a Quant

Online Now

Our Code of Conduct

Stay Connected

Stay connected with all the latest updates with email alerts or joining our Discord server.

  Open Discord

profile

Answers

Answers

  Backtests

Backtests

  Comments

Comments

  Live Traded

Live Traded

 

 

 

Documentation discussion key-concepts/developing-in-the-ide

Back

Started By:


Follow Discussion
Reward Discussion Awards
Permalink

QuantConnect Robot INVESTOR


 |   Reward Discussion
0
0
Update Backtest





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.

  0  
12
Twitter Facebook LinkedIn Copy Link

QuantConnect Robot

Permalink

 | 
accepted answer

Accepted Answer

0
Update Backtest





  • Notebook

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.

0
Twitter Facebook LinkedIn Copy Link

Rich Dev


12 Pro ,

I want to use my own Jupyter Notebook or Spyder IDE for all coding and backtesting.  How can I do that? 

8

Alexandre Catarino


Pro ,

Hi Rich,

Since Lean is written in C# using pythonnet as an interface to allow executing algorithms written in Python, it is not straightforward to develop algorithms using all the features of an IDE (namely debugging). The one setup we could figure out involves Visual Studio. We welcome suggestions on how to do it with other IDEs, namely Spyder and Visual Code.

0

Murali


23 Pro ,

Can you provide some REST endpoints for syncing the code at local to the server?That is, a REST API which can upload the code to my account.Some more endpoints for building and backtesting would be very helpful too. I am accustomed to writing code in Vim and tracking the changes with Git frequently.

As the code getting larger, my velocity of development is slowing down as I have to be worried about unconscious mistakes without any backups (and copy them to somewhere by hand is cumbersome).

 

3
Edited by Murali

Jared Broad


Pro ,
This feature will be published soon.
8

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.


Birinhos


9 Pro ,

Hello,

Before I start I would just like to know some pre-requirements : 

Can we upload files? Like keras pre-train models? 

Do you have S&P500 Futures (ES) Data with market depth (level II)  with 1-second refresh rate? 

Do you have any type of API so I can use in my own computer (do not develop inside the site)?

Cheers!  

0

Daniel Chen


17.8k Pro ,

Hi Birinhos,

Welcome to QuantConnect, and thank you for all these valuable questions.

For the first one, users are allowed to upload their custom data needed for their own algorithms. This page gives you the details. On the other hand, we are sorry to say that for now it is not possible to retrieve pre-train models. However, it is convenient and easy to train algorithms using ML libraries (Pytorch, TensorFlow, etc.) in QC. You can find all supported libraries in this whitelist.

For the second one, for now we don't have market depth data.

For the last one, you are welcome to work locally. We recommend you follow the installation instruction on this page to set up. After that, you can debug python in a very convenient way with the tutorial here. The API documentation is the same as the online one, and you will find many plugins very helpful in Visual Studio.

Hope these help!

0

Hi Bo


18 Pro ,

Hi

The link to the tutorial above is dead

0

Jared Broad


Pro ,

 Hi Bo 

https://www.quantconnect.com/tutorials/open-source/debugging-python

 

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.


Tony Wise


140 Pro ,

Hello, is it possible to completely override a class in the online IDE (for instance, the PortfolioStatistics class)? Thank you for your time!

0

Jared Broad


Pro ,
Yes its possible to extend anything within the bounds of the language :)

Its real C#/Py
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.


Tony Wise


140 Pro ,

Ok, so I figured out that I could "overwrite" classes in the IDE simply by copying and pasting the subject classes, but that I may need to "overwrite" a few extra classes in the IDE (literally a copy and paste) probably do to structural differences between the IDE and the local environment. Now that I know this, how can I access the final portfolio statistics?

I have attempted to use "using QuantConnect.Lean.Engine.Results" in an attempt to access the backtest result statistics; however, I get the error that "the namespace 'Lean' does not exist in the namespace 'QuantConnect.'" I'm not sure why this is since the documentation on github shows similar use of the namespace in other classes? I'd like to display my custom statistics in the IDE results and/or print to the console or csv. Any help here would be greatly appreciated, thank you!

0

Jared Broad


Pro ,

Hey Tony; please start a new discussion in the LEAN forum about this project. 

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.


QuantConnect Robot INVESTOR

Permalink

 | 
0
Update Backtest







  • Notebook

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.

 0 
Twitter Facebook LinkedIn Copy Link
Loading...
  • 1
  • «
  • »

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!

award-icon

What is an Award?

Back
 
 

Join QuantConnect for Free Sign Up

QuantConnect Logo

QuantConnect™ 2023. All Rights Reserved

Technology

  • Algorithm Lab
  • Documentation
  • Community
  • Tutorials
  • Data Library
  • Learning Articles
  • System Status
  • Account
  • Discussions List

Company

  • About
  • Affiliates
  • Our Blog
  • Contact
  • Pricing
  • Integration Partners
  • Terms & Conditions
  • Privacy Policy

LEAN

  • Fork 2,779
  • Star 7,233
QuantConnect Logo

QuantConnect™ 2023. All Rights Reserved

Technology

  • Algorithm Lab
  • Documentation
  • Community
  • Tutorials
  • Data Library
  • Learning Articles
  • System Status
  • Account
  • Discussions List

Company

  • About
  • Affiliates
  • Our Blog
  • Contact
  • Pricing
  • Integration Partners
  • Terms & Conditions
  • Privacy Policy

LEAN

  • Fork 2,779
  • Star 7,233