Home / Other tools
exchange_calendars
Trading calendars for stock exchanges around the world
What it is
A Python library of trading calendars for stock exchanges worldwide. It knows each exchange's open and close times, holidays and special sessions, and can generate sequences of valid trading days or minutes. Backtest builders and data engineers who handle several markets need exactly this to align prices and avoid counting non-trading days. Calendars depend on exchange announcements, so keep the package updated or recent holiday changes may be missing.
At a glance
RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Data analysis, Backtesting |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | High practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Commits today |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): +13 over the period, now 681. Gaps mean no snapshot was taken that day.
Stock Exchange Trading Calendars.
Similar tools
Exchange market calendars for pandas trading applications
Technical analysis library in pandas for backtesting
Python backtesting framework with a graphical interface
Free searchable database of 300,000+ financial symbols
Python backtester with a spreadsheet-style view of trades
Streamlit chart that marks moving-average and squeeze signals