Hello, this algorithm trades ETHUSD based on the theory that a positive regression channel slope and a regression channels predicted value being higher than the current price is a buy signal. I used a 14 day regression channel and 1 day buy Insights. This algorithm was created to demonstrate the ease of developing innovative algorithms on the QuantConnect platform. The algorithm gave better results than expected, but is not conclusive enough and requires more testing, improvements, and optimization before anything about this correlation is confirmed. Thank you and happy coding!
Derek Melchin
Hi Dan,
Thanks for sharing this algorithm with the community! In it's current state, the algorithm emits more insights than are necessary. If we add a `return` under the line that emits the flat insight, the algorithm emits fewer insights yet the trades remain the same.
See the attached backtest for reference.
Best,
Derek Melchin
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.
Dan Root
Thank you for the valuable improvement, I appreciate the feedback!Â
Dan Root
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!