Skip to content

Year

FreeValueStandardPro

Get equity market holidays and early-close days for a year (vendor year_holidays endpoint — only non-standard days, not every trading day).

  • Retrieves equity market holidays for a given year
  • Note: Holiday data is available 01/01/2012 through the end of the calendar year that immediately follows the current year
  • *On days when the market closes early at 1:00 PM ET; eligible options will trade until 1:15 PM.
  • **Some NYSE exchanges will continue late trading until 5:00 PM ET on early close days.
2025
Client
Auth
Style
from thetadatadx import Client

client = Client.from_env()

rows = client.market_data.calendar_year(
    "2025",
)
for t in rows:
    print(t.date, t.open_time, t.close_time, t.status)

Parameters

NameTypeRequiredDefaultDescription
yearstringyes4-digit year (e.g. 2024)
timeout_msintnoPer-request deadline in milliseconds. 0 means no deadline.

Response

Rows of CalendarDay:

FieldTypeDescription
datei32Calendar date as a YYYYMMDD integer. 0 when the server omits the column (single-day endpoints).
open_timei32Market open time, milliseconds since midnight ET.
close_timei32Market close time, milliseconds since midnight ET.
statusstringVendor day classification: open, early_close, full_close, or weekend.

Released under the Apache-2.0 License.