def open_at_time(cls, schedule, timestamp, include_close=False):
     if cls.lunch_start < timestamp.time() < cls.lunch_end:
         return False
     return MarketCalendar.open_at_time(schedule, timestamp, include_close)
Пример #2
0
 def open_at_time(schedule, timestamp, include_close=False):
     if JPXExchangeCalendar.lunch_start < timestamp.time(
     ) < JPXExchangeCalendar.lunch_end:
         return False
     return MarketCalendar.open_at_time(schedule, timestamp, include_close)
Пример #3
0
 def open_at_time(schedule, timestamp, include_close=False):
     return MarketCalendar.open_at_time(schedule, timestamp, include_close)