Home / Other tools

exchange_calendars

Other tools★ 681 GitHub starsPython⏱ Commits today

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 forDevelopers
Used forData analysis, Backtesting
MarketsMulti-market
StackPython
Learning curveEasy to start
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceCommits 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.

In the author's words

Stock Exchange Trading Calendars.

Open on GitHub ↗This week's trending tools中文页面

Similar tools