I was under the impression that quant connect was specifically coded in C# which I know nothing of. Recently a friend told me that I can code on quant connect with python, which I am familiar with. I have been using quantopian but gave up on making my algo there since their API is crap and because they don't tell you where data is stored or how it is stored it makes it very frustrating to understand how to code a part of the algo. So, is it true? Can I program in python here? Is there different API for this or do I need to do detective work? How do I code here with python? Thank you, Dante Migale
Travis Teichelmann
Stephen Oehler
Hi Dante, and welcome to QC :-) I also came here after seeing the same shortfalls in Quantopian. Yes! You can code in Python, Java, VBA, F# or C#! When you click the Backtester up there in the main bar, it will take you to the IDE. There, when you create a new project, it will give you the option to choose the coding language. If I had to give QC props for anything, it would be that they've open sourced the entire engine. So you can even download it and use it on your personal computer if you wanted. Super powerful.
JP B
Coming from Java myself, I'd say that picking up C# is extremely easy. Even though you will have to get used to the brackets and all, I'd say you could pick up C# quite quickly too. Plus it's always cool to master a new language :)
Steven Heiser
My theory: Quantopian's true purpose is to be a prank. Whilst it can do some very nice things, those features are only there to get you committed, so that when you realize that the entire platform is fatally flawed and actually terribly unusable, the misery is magnified.
Denis T Akhiyarov
i found this project using search in github, you can connect to C# libraries using either Ironpython or pythonnet. Use the latter especially if you want to connect to pandas, ipython, matplotlib, seaborn, etc.
Jared Broad
@Denis - LEAN uses IronPython. I believe it supports the common python libraries. Soon we'll get LEAN working with Numpy etc. I think PythonNet is about using python terms inside C#? This won't satisfy most python users.
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.
Iouri Verchok
Hello guys, glad to be here. I'm still a beginner and have some limited skills in Python. Could you help me with some link/reference to docs, containing a list of class/methods (Python) usable in qc? I've got through
Alexandre Catarino
The docs page you mentioned covers most of the features.
The complete API can be found at Lean docs page.
We have been working on tutorials that will cover topics from introduction to python to advanced quant strategies passing by the Lean/QuantConnect API. It is a must for beginners!
Fred Fredburger
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.
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!