Eurex calendar is missing its 2003 May 1 and year-end holidays
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start with Data/market-hours/market-hours-database.json and inspect the Future-eurex-[*] and Index-eurex-[*] entries around 2003, comparing them with other years. Find the existing market-hours tests for holiday dates and add checks that the five listed 2003 dates are closed. Done means both Eurex entries include those closures and the tests verify them.
Written by the indexing model from the issue text.
Description
Observed behavior
The Eurex calendar in Data/market-hours/market-hours-database.json (Future-eurex-[*] and Index-eurex-[*]) lists only three holidays for 2003: 1/1/2003, 4/18/2003 and 4/21/2003. Every other year from 2000 to 2030 also lists Labour Day (May 1) and the Christmas and New Year's Eve closures (Dec 24, 25, 26 and 31) when they fall on a weekday. Eurex follows that same schedule every year, so 2003 is missing 5/1/2003, 12/24/2003, 12/25/2003, 12/26/2003 and 12/31/2003.
var symbol = Symbol.Create("FDAX", SecurityType.Future, Market.EUREX);
var hours = MarketHoursDatabase.FromDataFolder().GetExchangeHours(Market.EUREX, symbol, SecurityType.Future);
Console.WriteLine(hours.IsDateOpen(new DateTime(2003, 12, 25))); // True: Christmas Day
Console.WriteLine(hours.IsDateOpen(new DateTime(2004, 12, 24))); // False: other years list it
Impact
Backtests of Eurex futures and indices over 2003 treat those five days as trading days: they fill forward bars, fire scheduled events and accept orders on them.
What a fix must achieve
The Eurex entries list the 2003 Labour Day, Christmas and New Year's Eve closures that the exchange observed, the same as the other years, and a test checks those dates are closed.
- Dominant language
- C#
- Stars
- 22.6k
- Forks
- 5.4k
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 104
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QuantConnect/Lean
-
priority:p2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
QuantConnect/Lean#10216 ·
Maintainers usually reply within 1 day
-
priority:p2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QuantConnect/Lean#10206 ·
Maintainers usually reply within 1 day
-
priority:p2
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
QuantConnect/Lean#10199 ·
Maintainers usually reply within 1 day
-
priority:p2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
QuantConnect/Lean#10198 ·
Maintainers usually reply within 1 day
-
priority:p2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QuantConnect/Lean#10197 ·
Maintainers usually reply within 1 day
All issues in QuantConnect/Lean
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
dotnet-outdated/dotnet-outdated#871 ·
Maintainers usually reply within 1 day
-
triage/untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
unoplatform/uno#26676 ·
Maintainers usually reply within 1 day
-
.NET bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jhaizhou-ops/S2Arm#2177 · 3 comments ·
Maintainers usually reply within 1 day
-
area-CodeGen-coreclr untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dotnet/runtime#138181 · 1 comment ·
Maintainers usually reply within 1 day