I was testing something, and then saw something wrong.
2021-09-28 07:30:00 , 34586.0, 34586.0, 34594.333333333336, 34594.333333333336
2021-09-28 07:31:00 , 34586.0, 34597.0, 34594.333333333336, 34594.333333333336
2021-09-28 07:32:00 , 34586.0, 34608.0, 34594.333333333336, 34594.333333333336
2021-09-28 07:33:00 , 34586.0, 34595.0, 34594.333333333336, 34594.333333333336
2021-09-28 07:35:00 , 34596.0, 34596.0, 34599.333333333336, 34599.333333333336
2021-09-28 07:36:00 , 34596.0, 34592.0, 34599.333333333336, 34599.333333333336
2021-09-28 07:37:00 , 34596.0, 34600.0, 34599.333333333336, 34599.333333333336
2021-09-28 07:39:00 , 34596.0, 34605.5, 34599.333333333336, 34599.333333333336
07:34:00 and 07:38:00 are missing. I am not sure if it is just me or the data actually has problem
Varad Kabade
Hi Will Chau,
The above issue does not occur due to missing data; we can see that by adding a Debug statement if our contracts in OnData are zero. The reason for the above phenomenon is that we are overwriting the Rolling Window whenever a new contract satisfies the constraints, resulting in the window not being ready and, therefore, no values at the above time.
Best,
Varad Kabade
Will Chau
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!