Skip to content

Commit

Permalink
Extend XTKS hours to 15:30
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain Patel authored and gerrymanoim committed Nov 22, 2024
1 parent 5de7ba0 commit bc23fbe
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 286 deletions.
7 changes: 5 additions & 2 deletions exchange_calendars/exchange_calendar_xtks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class XTKSExchangeCalendar(ExchangeCalendar):
First session: 9:00am - 11:30am
Lunch Break: 11:30am - 12:30pm
Second session: 12:30pm - 3:00pm
Second session: 12:30pm - 3:30pm
Regularly-Observed Holidays (see xtks_holidays.py for more info):
- New Year's Holidays (Dec. 31 - Jan. 3)
Expand Down Expand Up @@ -85,7 +85,10 @@ class XTKSExchangeCalendar(ExchangeCalendar):
open_times = ((None, time(9)),)
break_start_times = ((None, time(11, 30)),)
break_end_times = ((None, time(12, 30)),)
close_times = ((None, time(15)),)
close_times = (
(None, time(15)),
(pd.Timestamp("2024-11-05"), time(15, 30)),
)

@classmethod
def bound_min(cls) -> pd.Timestamp:
Expand Down
Loading

0 comments on commit bc23fbe

Please sign in to comment.