You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fill Model Don't Account IOrderPropeties.OutsideRegularTradingHours #9476
Respect outside regular hours in fill models by @aiSynergy37, branch aiSynergy37:bug-9476-respect-regular-hours, head 47d3e94a2.
PR: #9483
The PR is being closed to tidy up the queue; the proposed change is recorded here for review and can be reopened or re-submitted once the approach is agreed.
Updates fill eligibility to respect order-level outside regular trading hours settings when the order properties expose that setting. This prevents extended-hours subscriptions from filling orders that explicitly disallow outside regular trading hours.
The shared exchange-open helper now applies the order property override before checking market hours, and short bars no longer use the large-bar boundary fallback when the exchange is closed at the order time.
A stop market order submitted during pre-market data could fill when the subscription had extended market hours enabled, even if the order property set OutsideRegularTradingHours = false.
Activity
jaredbroad commentedon Oct 28, 2026
Work transferred from PR #9483
Respect outside regular hours in fill models by @aiSynergy37, branch
aiSynergy37:bug-9476-respect-regular-hours, head47d3e94a2.PR: #9483
The PR is being closed to tidy up the queue; the proposed change is recorded here for review and can be reopened or re-submitted once the approach is agreed.
Changed files (3 files, +92/-11):
Common/Orders/Fills/EquityFillModel.cs(+5/-5)Common/Orders/Fills/FillModel.cs(+55/-6)Tests/Common/Orders/Fills/EquityFillModelTests.StopMarketFill.cs(+32/-0)PR description
Description
Updates fill eligibility to respect order-level outside regular trading hours settings when the order properties expose that setting. This prevents extended-hours subscriptions from filling orders that explicitly disallow outside regular trading hours.
The shared exchange-open helper now applies the order property override before checking market hours, and short bars no longer use the large-bar boundary fallback when the exchange is closed at the order time.
Related Issue
Fixes #9476
Motivation and Context
A stop market order submitted during pre-market data could fill when the subscription had extended market hours enabled, even if the order property set
OutsideRegularTradingHours = false.Requires Documentation Change
No
How Has This Been Tested?
dotnet build Tests\QuantConnect.Tests.csproj --no-restore -v minimal /p:RunAnalyzers=falseTypes of Changes