Expand Financial Markets
I would like to draft a GSoC proposal based on this if you approve of the idea. The library currently has an excellent base of 8 financial calendars, but leaves out many global hubs. I propose a project to add exactly major global financial markets that are currently missing
Proposed GSoC Scope:
Data Expansion: Research, implement, and write rigorous tests for holiday rules of 20 new financial calendars using the repository's current structure.
Target List
- Americas (4):
- ~~NASDAQ (US)~~
- ~~CME (US)~~
- ~~TSX (Canada)~~
- ~~BMV (Mexico)~~
- EMEA (8):
- ~~LSE (London)~~
- ~~Euronext (Pan-European)~~
- ~~SIX (Swiss)~~
- ~~Borsa Italiana (Italy)~~
- ~~BME (Spain)~~
- ~~JSE (Johannesburg)~~
- TASE (Tel Aviv)
- ~~Tadawul (Saudi Arabia)~~
- APAC (8):
- ~~HKEX (Hong Kong)~~
- ~~SSE (Shanghai)~~
- ~~SZSE (Shenzhen)~~
- ~~SGX (Singapore)~~
- ~~KRX (South Korea)~~
- ~~TWSE (Taiwan)~~
- ~~ASX (Australia)~~
- ~~NZX (New Zealand)~~
My questions to help shape my proposal:
Is researching and implementing these 20 calendars substantial enough for a GSoC project on its own, or would you recommend I definitively couple it with the native business day/settlement calculation feature to ensure it meets the GSoC hour requirements?
AFAIK SSE already got a pending PR (#3403) and Nasdaq uses the same schedule as NYSE's.
The rest are fine though and would be interesting to see them being implemented
Hello @PPsyrius @pareshjoshij . For your information, beside SSE, I researched the logic for half day holidays for HKEX. And I also have a local HKEX implementation in progress, including the exchange’s full closure days and half-day trading days. I have written most of the code for it right now.
I have not opened the PR yet because it overlaps with #3403 in a few shared integration files (such as README.md, holidays/financial/__init__.py, and holidays/registry.py). To keep the changes cleaner and avoid unnecessary merge conflicts, I plan to open it after making sure #3403 is correct and able to merge. Or after it is finally merged.
Hello @PPsyrius @pareshjoshij . For your information, beside SSE, I researched the logic for half day holidays for HKEX. And I also have a local HKEX implementation in progress, including the exchange’s full closure days and half-day trading days. I have written most of the code for it right now.
I have not opened the PR yet because it overlaps with #3403 in a few shared integration files (such as
README.md,holidays/financial/__init__.py, andholidays/registry.py). To keep the changes cleaner and avoid unnecessary merge conflicts, I plan to open it after making sure #3403 is correct and able to merge. Or after it is finally merged.
Awesome, @mengChengxi! Feel free to take HKEX. I had looked into it earlier, but no problem at all. It's great to see so much momentum on the financial calendars!
@PPsyrius, I expect a few more of these might get merged before GSoC kicks off, so I will adjust my proposal's target list accordingly as we get closer.
Nasdaq uses the same schedule as NYSE's.
For Nasdaq, we can just do the same thing we do with BSE and NSE
For Nasdaq, we can just do the same thing we do with BSE and NSE
Sure, let's do that
As far as I know, like Nasdaq and NYSE, SZSE has a same schedule as SSE.
Though, SSE, SZSE and HKEX have interesting mechanisms that allow investors to invest cross-borderly. The mechanisms are called "Shanghai-Hong Kong Stock Connect", "Shenzhen-Hong Kong Connect" respectively, or "Mainland-Hong Kong Stock Connect/Stock Connect" in general.
The mechanism follows a unique schedule from SSE/SZSE's and HKEX. And for the mechanism itself, the northbound and southbound trading schedules are also slightly different.
Will it be interesting to add the mechanism to our project? If so, may I start working on SZSE, and the Stock Connect mechanism for these three Exchanges?
Hi @pareshjoshij @KJhellico , is anyone working on Tadawul (Saudi Exchange)? If it's still free, I'd like to take it. I added Urdu for Saudi Arabia in #3865, so I can reuse that l10n.
Hi @pareshjoshij @KJhellico , is anyone working on Tadawul (Saudi Exchange)? If it's still free, I'd like to take it. I added Urdu for Saudi Arabia in #3865, so I can reuse that l10n.
I haven’t been able to make much progress recently. Of course, feel free to work on it! I’d be happy to contribute or share anything that might be helpful. Please go ahead with the PR. :)
I'm working on two Gulf markets next: Dubai Financial Market (XDFM) and Qatar Stock Exchange (DSMD). Both can be checked against official sources: DFM's holiday circulars (2023–2026) and QSE's market notices (from 2010). DFM follows the UAE public holidays, so first I'll fix a few UAE 2025 dates; for example, Eid al-Adha is Jun 4 in the code, but it was Jun 6 (DFM closed Jun 5–6).