Skip to content

Fix OnWarmupFinished algorithm time alignment#9445

Open
JosueNina wants to merge 2 commits intoQuantConnect:masterfrom
JosueNina:bug-9333-on-warmup-finished-timing
Open

Fix OnWarmupFinished algorithm time alignment#9445
JosueNina wants to merge 2 commits intoQuantConnect:masterfrom
JosueNina:bug-9333-on-warmup-finished-timing

Conversation

@JosueNina
Copy link
Copy Markdown
Collaborator

Description

OnWarmupFinished was firing at the scheduled universe trigger time (e.g. 8 AM) instead of StartDate (midnight) when no midnight slice existed, now aligned to StartDate before the callback fires.

Related Issue

Closes #9333

Motivation and Context

N/A

Requires Documentation Change

N/A

How Has This Been Tested?

It was tested using a regression test.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Refactor (non-breaking change which improves implementation)
  • Performance (non-breaking change which improves performance. Please add associated performance test and results)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Non-functional change (xml comments/documentation/etc)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

@JosueNina JosueNina changed the title Fix OnWarmupFinished timing with ScheduledUniverseSelectionModel Fix OnWarmupFinished algorithm time alignment May 5, 2026
@JosueNina JosueNina force-pushed the bug-9333-on-warmup-finished-timing branch from 025aff0 to 0ea3ff9 Compare May 5, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent timing for on_warmup_finished

1 participant