Hi all,
A simple question from a newcomer/novice. As (to my current knowledge) technical indicators seem to be implemented in C#, how to code new indicators in Python from the existing ones written in C#?
More generally, is it realistic/efficient to implement strategies/anything in Python (I'm not a C# developer) when wishing to exploit all developments (I think mainly) made available in C#? Or am I missing something?
Thanks for your view,
Thomas
Adam W
The built-in indicators should all have Python implementations: see here
Thomas L
Thanks for your reply Adam W. Isn't it a way to call built-in indicators written in C# from Python?
At first sight, indicators stored on Github seem to be implemented in C# which, if confirmed, would be annoying if one wants to start from such a source code as a basis to create new indicators in Python. Unless technical analysis indicators/tools implemented in Python be located elsewhere of course.
https://github.com/QuantConnect/Lean
Jared Broad
Hi Thomas, here is an example of how to build a custom indicator, but its not specifically an example of how to extend from one already in LEAN. It is technically possible but I don't think it is worth it as most of the indicator code is simple enough to implement in isolation.
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.
Thomas L
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!