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.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
Hello eyeryone I am new to Quantconnect and I am trying to build a composite indicator by dividing the ADX by the ATR. To accomplish this I am trying to use the IndicatorExtension.Over() method. However I always get a TypeError telling me I am trying to acces a method that doesn't exist. Replacing the ADX and ATR indicators with an EMA indicator fixes the problem. Does anyone know why this happens and how to build the ADX/ATR composite indicator.
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.
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.
Jan-Gerrit Folkerts
324
,
class BasicTemplateAlgorithm(QCAlgorithm):
def Initialize(self):
self.SetStartDate(2010, 1, 1) #Set Start Date
self.SetEndDate(2011, 1, 1) #Set End Date
self.SetCash(1000) #Set Strategy Cash
class symbolObjekt(object):
def __init__(self, symbol, indicators):
self.symbol = symbol
self.indicators = indicators
0
Gurumeher Sawhney
16.5k
,
Thanks for bringing this to our attention. After looking into this issue the IndicatorExtensions.Over() method currently only supports parameters of the IndicatorBase<IndicatorDataPoint> type and the indicator ADX is not of that type. We have identified the issue and it is on our TODO list have .Over() support all indicator types.
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...
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!