Suppose we have an algorithm set to minute resolution by default but that consolidates to 5-minute bars and, through a series of trade-entry logical statements, we determine an entry point for our long trade that is slightly above the high of the most recent 5-minute bar. If we set the entry level accordingly, will it execute once the next 5-minute bar consolidates or will it execute on the default 1-minute resolution? The goal on my end is to have it execute on the 1-minute resolution against the 5-minute bar.
Derek Melchin
Hi James,
It will execute according to the 1-minute resolution. If we consolidate 1-minute bars into 5-minute bars, the algorithm (OnData) still receives data each minute.
Best,
Derek Melchin
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.
James Hawkins
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!