def regular_holidays(self):
     # https://www.theice.com/publicdocs/futures_us/exchange_notices/NewExNot2016Holidays.pdf # noqa
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas
     ])
Ejemplo n.º 2
0
 def special_closes(self):
     return [(time(13),
              HolidayCalendar([
                  USMartinLutherKingJrAfter1998, USPresidentsDay,
                  USMemorialDay, USIndependenceDay, USLaborDay,
                  USThanksgivingDay
              ]))]
 def special_closes(self):
     return [(
         time(12, 15),
         HolidayCalendar([
             USBlackFridayInOrAfter1993,
         ])
     )]
 def regular_holidays(self):
     return HolidayCalendar([
         USNewYearsDay,
         USMartinLutherKingJrAfter1998,
         USPresidentsDay,
         GoodFriday,
         USIndependenceDay,
         USMemorialDay,
         USLaborDay,
         USThanksgivingDay,
         Christmas
     ])
Ejemplo n.º 5
0
 def regular_holidays(self):
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas,
     ])
 def regular_holidays(self):
     return HolidayCalendar(holiday_set)
Ejemplo n.º 7
0
 def special_closes(self):
     return [(self.regular_early_close,
              HolidayCalendar([ChristmasEveEarlyClose2010Onwards]))]
Ejemplo n.º 8
0
 def regular_holidays(self):
     return HolidayCalendar([
         TSXNewYearsDay, FamilyDay, GoodFriday, VictoriaDay, CanadaDay,
         CivicHoliday, LaborDay, CanadianThanksgiving, Christmas,
         WeekendChristmas, BoxingDay, WeekendBoxingDay
     ])