diff --git a/exchange_calendars/common_holidays.py b/exchange_calendars/common_holidays.py index 2376502a..cddaafa0 100644 --- a/exchange_calendars/common_holidays.py +++ b/exchange_calendars/common_holidays.py @@ -17,25 +17,39 @@ def new_years_day(start_date=None, end_date=None, observance=None, days_of_week= ) -def new_years_eve(start_date=None, end_date=None, observance=None, days_of_week=None): +def new_years_eve( + start_date=None, + end_date=None, + observance=None, + days_of_week=None, + offset=None, +): return Holiday( "New Year's Eve", month=12, day=31, start_date=start_date, end_date=end_date, + offset=offset, observance=observance, days_of_week=days_of_week, ) -def epiphany(start_date=None, end_date=None, observance=None, days_of_week=None): +def epiphany( + start_date=None, + end_date=None, + observance=None, + days_of_week=None, + offset=None, +): return Holiday( "Epiphany", month=1, day=6, start_date=start_date, end_date=end_date, + offset=offset, observance=observance, days_of_week=days_of_week, ) diff --git a/exchange_calendars/exchange_calendar_cmes.py b/exchange_calendars/exchange_calendar_cmes.py index 83182d3e..ab82b616 100644 --- a/exchange_calendars/exchange_calendar_cmes.py +++ b/exchange_calendars/exchange_calendar_cmes.py @@ -53,7 +53,7 @@ class CMESExchangeCalendar(ExchangeCalendar): - Christmas """ - name = "CME" + name = "CMES" tz = timezone("America/Chicago") diff --git a/exchange_calendars/exchange_calendar_xbog.py b/exchange_calendars/exchange_calendar_xbog.py index 4580b07b..41ed5144 100644 --- a/exchange_calendars/exchange_calendar_xbog.py +++ b/exchange_calendars/exchange_calendar_xbog.py @@ -42,7 +42,7 @@ NewYearsDay = new_years_day() -Epiphany = epiphany(observance=next_monday_offset) +Epiphany = epiphany(offset=next_monday_offset) StJosephsDay = Holiday( "St. Joseph's Day (next Monday)", @@ -117,7 +117,7 @@ "Cartagena Independence Day", month=11, day=11, - observance=next_monday_offset, + offset=next_monday_offset, ) ImmaculateConception = immaculate_conception()