Hi everyone !
I am relatively new on QuantConnect and I am looking for some help that I am sure it might be easy for some of you.
I am creating an Equity strategy that is involving multiple tickers and indicators. I managed to create the same strategy with one Equity (it works !) but multiple tickers is different. After looking at the documentation and the forum, it seems that I need to use the Class SymbolData to keep all my indicator so each tickers can be referred to it. The problem is that I think I am using wrong terminologies to connect everything and the code is not working. I also don't really know where I should update my indicator (I guess the Ondata def).
Please let know where my code is falling or if you have a code example that is very similar I would be able to work from it.
Thank you,
Romain
Louis Szeto
Hi Romain
The idea and basic implementation are right, but I think there are a lot of minor bugs making the algorithm not running. For example,
There are much more in later parts. Suggest you to debug thoroughly first.
The core non-technical issue would be market opening hours. Since you're using daily data, when the bar is aggregated (00:00 of the next day), it must not be in open market hours. You should use a denser resolution data instead, while using consolidators to update the indicators in daily resolution (doc).
Best
Louis
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.
Romain
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!