Exchange Holidays

Get the holidays of a stock exchange: the days it is closed and the days it opens late or closes early.

A closed day has no trading at all, while a shortened day (such as the day after Thanksgiving on the New York exchanges, which close at 13:00) has an adjusted opening or closing time. Knowing them matters for anything that counts trading days, such as settlement dates, option expiries and the number of days in a return series.

Also known as: market holidays, trading holidays, early closes, half days, exchange calendar.

Example · 2026

Install the Finance Toolkit with pip install financetoolkit -U, then call get_exchange_holidays:

from financetoolkit import Discovery

discovery = Discovery(api_key="FINANCIAL_MODELING_PREP_KEY")

holidays = discovery.get_exchange_holidays(exchange="NYSE", start_date="2026-01-01", end_date="2026-12-31")

holidays[["Name", "Is Closed", "Adjusted Close Time"]]

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

On which holidays is the New York Stock Exchange closed or closing early in 2026?

Which returns:

DateNameIs ClosedAdjusted Close Time
2026-01-19Martin Luther King, Jr. DayTrue
2026-02-16Washington's BirthdayTrue
2026-04-03Good FridayTrue
2026-05-25Memorial DayTrue
2026-06-19JuneteenthTrue
2026-07-03Independence DayTrue
2026-09-07Labor DayTrue
2026-11-26Thanksgiving DayTrue
2026-11-27Day after Thanksgiving (early close)False13:00
2026-12-24Christmas Eve (early close)False13:00
2026-12-25ChristmasTrue

11 rows

Parameters

get_exchange_holidays accepts the following parameters.

ParameterTypeDescriptionExample
exchangestrThe exchange, such as “NYSE”, “NASDAQ”, “LSE” or “XETRA”. Defaults to “NYSE”."NASDAQ"
start_datestr | NoneThe first date, written as YYYY-MM-DD. Defaults to None, which is today."2021-01-01"
end_datestr | NoneThe last date, written as YYYY-MM-DD. Defaults to None, which is a year after the start date."2025-12-31"
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

Share