Skip to main content
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

Next steps

WeiMind Backtesting System and AI SkillsIntegrate open-source tools and research methods into a reproducible backtesting workflow.WeChat Community and Contact InformationView official contact details; QR codes will be displayed on the About page once available.Prefer English? Get the research briefing by emailRegister your interest in English research updates on our website.