Hi all,
My code is functioning however no insights are being emitted. I'm not sure if this is a fault of the logic, or maybe the Alpha Model isn't receiving the data from the universe. The universe functions independently and generates a list of symbols to be traded so the issue is not there. Can anyone help?
The universe scans for stocks once a month in which the bollinger bands are within the keltner channels. The alpha model then attempts to detect when the bollinger bands exit the keltner channel to then generate an insight. I'm honestly stumped and can't work out why the model doesn't function. Any help would be very much appreciated.
Please and thankyou.
Nicholas Fitzgerald
After running a series of tests using different alpha models and some modified versions of my own, I believe the issue is stemming from the indicator values not being applied correctly to the symbols. This seems apparent as when testing some simple logic such as:
if sd._bollinger["UpperBand"][1] == sd._bollinger["UpperBand"][1]:
insights.append(Insight.Price(sd.Security.Symbol, self.insightPeriod, InsightDirection.Up))
The alpha model still generates no insights. Am I making a mistake in my SymbolData class? Can anyone see something I am missing to instantiate the indicators or an error in how the indicators have been applied?
Any help would be very much appreciated!
Varad Kabade
Hi Nicholas,
The issue has been resolved in the following thread.
Best,
Varad Kabade
Nicholas Fitzgerald
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!