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:
| Date | Name | Is Closed | Adjusted Close Time |
|---|---|---|---|
| 2026-01-19 | Martin Luther King, Jr. Day | True | |
| 2026-02-16 | Washington's Birthday | True | |
| 2026-04-03 | Good Friday | True | |
| 2026-05-25 | Memorial Day | True | |
| 2026-06-19 | Juneteenth | True | |
| 2026-07-03 | Independence Day | True | |
| 2026-09-07 | Labor Day | True | |
| 2026-11-26 | Thanksgiving Day | True | |
| 2026-11-27 | Day after Thanksgiving (early close) | False | 13:00 |
| 2026-12-24 | Christmas Eve (early close) | False | 13:00 |
| 2026-12-25 | Christmas | True |
11 rows
Parameters
get_exchange_holidays accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
exchange | str | The exchange, such as “NYSE”, “NASDAQ”, “LSE” or “XETRA”. Defaults to “NYSE”. | "NASDAQ" |
start_date | str | None | The first date, written as YYYY-MM-DD. Defaults to None, which is today. | "2021-01-01" |
end_date | str | None | The last date, written as YYYY-MM-DD. Defaults to None, which is a year after the start date. | "2025-12-31" |
show_columns | str | list[str] | None | The 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
- Source FinancialModelingPrep, Holidays By Exchange (holidays-by-exchange)