Skip to main content
AI × Quant × TradingFoundations US$99 · Signals US$1,299 · AI Live US$5,980 · partner institution employees firstView →
QuantConnect Lean:GitHub Releases· Martin-Molinero·· 2 days agoAI Score25

Lean Fixes Boundary Anomalies in GetMarketHours for Early Close and Delayed Open

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

AI summary

QuantConnect's open-source quantitative backtesting framework Lean has completed boundary anomaly fixes for the GetMarketHours function, resolving calculation errors when a delayed open is later than all trading sessions on the same day, and when early close and delayed open fall on session boundaries. This update adds regression tests for multiple scenarios, preventing issues such as zero-length trading sessions and incorrect returns of full regular trading sessions.

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.