List holidays
list_holidaysHoliday rows for one year. us-federal-opm and us-fed-banking return the eleven nationwide legal public holidays. On us-fed-banking, observed is null when the legal date is a Saturday, because Friday stays open. us-nyse returns the NYSE full-day table and accepts only 2026 through 2028. us-sifma returns the SIFMA U.S. full-close table and accepts only 2026 and 2027. us-ca returns the California state-office table and accepts only 2026. us-ny returns the New York State office table and accepts only 2026 and 2027. us-nyc returns the New York City office table and accepts only 2026 and 2027. A Saturday holiday closes Friday. year is 2021 through 2100 on the federal calendars. Years after 2030 use the same rules and are not a later official table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Calendar year, 2021 through 2100. | |
| calendar | No | Calendar id. Omit for us-federal-opm. Unknown ids are an error. us-fed-banking keeps Reserve Banks open on the Friday before a Saturday holiday. us-nyse is NYSE full-day holidays for 2026 through 2028. us-sifma is SIFMA recommended U.S. full closes for 2026 and 2027. An early close stays open. us-ca is California state offices for 2026. A Saturday holiday does not close Friday. us-ny is New York State executive-branch offices for 2026 and 2027. A floating holiday stays open. us-nyc is New York City offices for 2026 and 2027. A Saturday holiday closes Friday. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | year | |
| count | Yes | count | |
| sources | Yes | sources | |
| calendar | Yes | calendar | |
| holidays | Yes | holidays | |
| disclaimer | Yes | disclaimer |