Ejemplo n.º 1
0
 def special_closes(self):
     return [(
         time(12, 15),
         HolidayCalendar([
             USBlackFridayInOrAfter1993,
         ])
     )]
Ejemplo n.º 2
0
 def special_closes(self):
     return [(time(13),
              HolidayCalendar([
                  USMartinLutherKingJrAfter1998, USPresidentsDay,
                  USMemorialDay, USIndependenceDay, USLaborDay,
                  USThanksgivingDay
              ]))]
Ejemplo n.º 3
0
 def regular_holidays(self):
     # https://www.theice.com/publicdocs/futures_us/exchange_notices/NewExNot2016Holidays.pdf # noqa
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas
     ])
Ejemplo n.º 4
0
 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([
         TSXNewYearsDay,
         FamilyDay,
         GoodFriday,
         VictoriaDay,
         CanadaDay,
         CivicHoliday,
         LaborDay,
         Thanksgiving,
         Christmas,
         WeekendChristmas,
         BoxingDay,
         WeekendBoxingDay
     ])
Ejemplo n.º 6
0
 def regular_holidays(self):
     return HolidayCalendar([
         USNewYearsDay,
         GoodFriday,
         Christmas,
     ])