Add Japan Exchange Group (JPX) holidays#3270
Conversation
- Implemented proper category tracking in JapanExchange - Fixed localization files and generated .mo files for JPX - Updated documentation formatting - Fixed mypy type annotation for _category
- Removed self._category dict that was never read/used - Removed _add_holiday, _populate_bank_holidays, _populate_public_holidays overrides - Simplified implementation by ~30 lines without changing functionality - All tests still pass
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughAdds a Japan Exchange (XJPX/JPX/TSE/OSE) financial calendar, registers and re-exports it, updates README market listing, adds XJPX locale PO files (en_US, ja, th), modifies JP locale PO files, tweaks holiday_base entity_code fallback, and adds tests for JPX behavior. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
|
@KJhellico Sir i have made the changes |
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Aditya Anand <[email protected]>
|
@KJhellico Sir, all test cases are passing after the latest changes. Please let me know what I should do next. |
|
@KJhellico Thank you so much for the review! I'm really happy everything looks good. This was my first open-source contribution, so it means a lot. I really appreciate your guidance and feedback. 🚀 |
|
|
@KJhellico @arkid15r @PPsyrius I just wanted to take a moment to sincerely thank all the mentors and maintainers at Vacanza for their support and guidance throughout this contribution 🙏. I’m really grateful for the time you took to review the code, provide feedback, and help improve the PR. This was my first open-source contribution, so getting the chance to learn the workflow, understand the project structure, and collaborate with experienced developers has been an amazing experience for me 🚀. Thank you again for maintaining such a great project and for being so welcoming to new contributors. I’m looking forward to contributing more in the future! 😊 Best regards, |
Thanks for being part of this Aditya 👍 |



Proposed change
This PR adds support for the Japan Exchange under financial markets by introducing a new file
japan_exchange.py.The implementation follows the existing financial market structure and conventions used across the project. The file defines the official trading holidays observed by the Japan Exchange, enabling users to retrieve exchange-specific holidays through the financials module.
This addition expands financial market coverage within the library.
Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.