QuantConnect Lean:GitHub Releases· Martin-Molinero·· 15 hr agoAI Score23
QuantConnect Lean Fixes Edge Cases for Early Close and Delayed Open in GetMarketHours
18198: Fix GetMarketHours early close and late open edge cases (#9926)
AI summary
QuantConnect Lean has resolved boundary anomalies in the GetMarketHours function related to early closes and delayed opens, fixing the error where a delayed open time later than all trading sessions on a given day would return the full regular trading session, while also eliminating the issue of zero-length trading sessions appearing at boundary time points. This fix adds corresponding regression tests, and the related changes have been merged into the codebase.
Source:QuantConnect Lean:GitHub Releases · github.com