-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add 2026 CME Future & HKFE Holidays, early closes, late opens and bank holidays #9174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Martin-Molinero
merged 18 commits into
QuantConnect:master
from
Marinovsky:bug-Add2026USAFutureHolidays
Dec 31, 2025
Merged
Add 2026 CME Future & HKFE Holidays, early closes, late opens and bank holidays #9174
Martin-Molinero
merged 18 commits into
QuantConnect:master
from
Marinovsky:bug-Add2026USAFutureHolidays
Dec 31, 2025
+10,845
−827
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add 2026 CME Fx holidays, early closes, late opens, bank holidays - Exclude CNH, MNH and MIR as they expire rules don't consider US Holidays - Fix wrong early close on 12/24/2025 from 12:15 to 12:45
Martin-Molinero
approved these changes
Dec 31, 2025
Member
Martin-Molinero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
EnergyExpiryDateFunction_WithDifferentDates_ShouldFollowContract("HH","00:00:00")was failing since the expiry date function wasn't taking into account the 2026 thanksgiving bank holidayFuture-cme-[*],Future-cbot-[*],Future-nymex-[*]andFuture-comex-[*]Related Issue
n/a
Motivation and Context
With this change the MHDB will keep updated
Requires Documentation Change
n/a
How Has This Been Tested?
I used the following python module to automatically add the holidays, early closes, late opens and bank holidays
https://github.com/Marinovsky/LEAN-MHDB. The python module reads a changes.json file with the changes, adds them to the MHDB (taking into account the exchange time zone) and finally checks for duplicated entries. It knows the class of each future in the MHDB thanks to this file: https://www.dropbox.com/scl/fi/09j95smm8ko09aupx66gl/cme-group-futures-info.json?rlkey=43ne4e093vtsqo6o2vnbrvtfh&st=tadv9em1&dl=0
Types of changes
Checklist:
bug-<issue#>-<description>orfeature-<issue#>-<description>