Skip to main content
QuantConnect Lean:GitHub Releases· Martin-Molinero·· 15 hr agoAI Score22

QuantConnect Lean Fixes GetMarketHours Early Close and Late Open Edge Cases

18199: Fix GetMarketHours early close and late open edge cases (#9926)

AI summary

QuantConnect Lean has fixed edge cases in the GetMarketHours function involving early closes and delayed opens, resolving the issue where a delayed open later than all sessions on a given day would return incorrect trading hours, while also eliminating anomalies with zero-length sessions at boundaries. This update adds corresponding regression tests covering scenarios such as delayed opens across multiple sessions and early closes followed by subsequent delayed opens.

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.