Still relatively new to trading and QC, so please excuse me if I am off a bit.
When manually trading in another platform, I can look at indicators in M30, H1, H4, D1, etc, but each TICK comes in, enabling me to base decisions on a tick-by-tick basis against H4 bars, right?
However, in QC it seems that OnData() and MyCustomConsolidatorHandler() only come at the respective timeframe. Is there an OnTick() event handler or equivalent? Can I get updated bars for the specified timeframe on each tick?
Wayne Adams
If you add tick data using something like self.AddEquity(Symbol, Resolution.Tick), then you can make decisions on tick data within the OnData() method. And when making those decisions, you can access indicator values on the other time frames using techniques laid out here:
Or, did I miss something in your question?
James Candan
Initial read seems like what I am asking for, yeah! I'll dig a little more to wrap my head around it. Thanks!
James Candan
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!