Back

When is CoarseSelectionFunction actually run?

I would like for the Coarse function to run right away and was under the impression it ran for the first time at midnight before the second day since that is when it shows up in the logs. I have my start date on the 14th so when I saw "2017-08-15 00:00:00 Corse Called" in the logs I was confused especially when the Debug lines from other places in my code show "2017-08-14" so I added a self.Time call in my Debug line and got this:
"2017-08-15 00:00:00 COARSE RUN-----------2017-08-14 16:00:00" 

Is CSF running at the beginning of the first day like the Time output claims or at midnight after the first day like the logs seem to indicate?

Update Backtest








Hi Duke, answered this one here:

https://www.quantconnect.com/forum/discussion/1834/universe-selection-live/p1/comment-5656
0

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.


Update Backtest





0

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.


Loading...

This discussion is closed