Esempio n. 1
0
 def special_closes(self):
     return [(
         time(12, 15),
         HolidayCalendar([
             USBlackFridayInOrAfter1993,
         ])
     )]
 def special_closes(self):
     return [(time(13),
              HolidayCalendar([
                  USMartinLutherKingJrAfter1998, USPresidentsDay,
                  USMemorialDay, USIndependenceDay, USLaborDay,
                  USThanksgivingDay
              ]))]
 def regular_holidays(self):
     # https://www.theice.com/publicdocs/futures_us/exchange_notices/NewExNot2016Holidays.pdf # noqa
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas
     ])
Esempio n. 4
0
 def regular_holidays(self):
     return HolidayCalendar([
         USNewYearsDay,
         USMartinLutherKingJrAfter1998,
         USPresidentsDay,
         GoodFriday,
         USIndependenceDay,
         USMemorialDay,
         USLaborDay,
         USThanksgivingDay,
         Christmas
     ])
Esempio n. 5
0
 def regular_holidays(self):
     return HolidayCalendar([
         TSXNewYearsDay,
         FamilyDay,
         GoodFriday,
         VictoriaDay,
         CanadaDay,
         CivicHoliday,
         LaborDay,
         Thanksgiving,
         Christmas,
         WeekendChristmas,
         BoxingDay,
         WeekendBoxingDay
     ])
Esempio n. 6
0
 def regular_holidays(self):
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas,
     ])