Back

How to contribute to LEAN?

I am trying to get more involved in the opensource part of the quantconnect community and submit a few indicator ideas of my own. Please correct me if I am addressing this in the wrong place. I have read as much of the Lean documentation and tutorial (especially the Create Indicastor pages) as I can find and have looked through lots of the indicator files and pull requests. 

From those I have figured out almost everything I need to know to begin contributing. The only thing that continues to stump me is properly testing the code. Can anyone explain what the testing involves and how to do it?

This would be extremely helpful. I want to start contributing as soon as possible.

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.


First of all, we get really excited with community involvement in the open-source project.
You can find the indicator unit tests in QuantConnect.Tests.Indicators.
It is really easy to add tests for indicators that inherit from CommonIndicatorTests<T>, create an instance of the indicator in CreateIndicator() method and define the TestFileName and the TestColumnName properties. Eventually, we need to override the base class tests or add more, Please check out the existing tests for more examples.
As you have noticed, we ask for an external source for validation, ideally, it comes from a third party software that has implemented the indicator or a table from an article.

We have three open issues for indicators are the moment:
- Connor's RSI
- Average Daily Range (ADR) indicator
- Indicator Derivative Oscillator

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

 
";