Hi, I've been tinkering with data fillforward and consolidated bars. When I use QuantConnect's consolidator, and I consolidate to 15 minute bars, and there is are no trades between 10.00 am - 10.15 am, if data fill forward is set to true (which I believe is the default setting), will I get a 15 minute bar in the 15 minute bar event handler?
I'm asking this because, if data is filled forward, then in theory the algorithm believes that there's been trades within that 15 minute time frame, hence, there should be a 15 minute bar generated, at least, that's what I'm understanding.
Alexandre Catarino
Hi Li Cheng,
The consolidator event handler will be triggered since it will be consolidating new bars with the fill-forwarded data.
Please check out an example with Westmoreland Resource Partners LP, WMLP.
Best regards,
Alex
Li Cheng
Hi Alexandre,
Really appreciate the quick response! It's awesome how you answered my question in a descriptive way, maybe I'm just burned out or I lack creativity but I never thought to test out by how FillForward worked with Debug statements in OnData and my consolidated bars handler. You just answered my question brilliantly!
Best,
Cheng
Li Cheng
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!