Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions trading_calendars/exchange_calendar_xnys.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

from .trading_calendar import TradingCalendar, HolidayCalendar
from .us_holidays import (
Juneteenth,
August45VictoryOverJapan,
Christmas,
ChristmasBefore1954,
Expand Down Expand Up @@ -179,6 +180,7 @@ def regular_holidays(self):
USMemorialDayBefore1964,
USMemorialDay1964to1969,
USMemorialDay,
Juneteenth,
USIndependenceDayBefore1954,
USIndependenceDay,
USLaborDay,
Expand Down
8 changes: 7 additions & 1 deletion trading_calendars/us_holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,13 @@ def following_tuesday_every_four_years_observance(dt):
start_date=Timestamp("1954-01-01"),
observance=nearest_workday,
)

Juneteenth = Holiday(
"Juneteenth",
month=6,
day=19,
start_date=Timestamp("2021-06-19"),
observance=nearest_workday,
)
# Early Closes

MonTuesThursBeforeIndependenceDay = Holiday(
Expand Down