pandas-market-calendars 5.1.0__py3-none-any.whl → 5.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pandas_market_calendars/__init__.py +39 -39
 - pandas_market_calendars/calendar_registry.py +58 -57
 - pandas_market_calendars/calendar_utils.py +1151 -1151
 - pandas_market_calendars/calendars/asx.py +100 -70
 - pandas_market_calendars/calendars/bmf.py +225 -219
 - pandas_market_calendars/calendars/bse.py +433 -425
 - pandas_market_calendars/calendars/cboe.py +153 -149
 - pandas_market_calendars/calendars/cme.py +417 -405
 - pandas_market_calendars/calendars/cme_globex_agriculture.py +172 -172
 - pandas_market_calendars/calendars/cme_globex_base.py +127 -119
 - pandas_market_calendars/calendars/cme_globex_crypto.py +166 -158
 - pandas_market_calendars/calendars/cme_globex_energy_and_metals.py +224 -216
 - pandas_market_calendars/calendars/cme_globex_equities.py +131 -123
 - pandas_market_calendars/calendars/cme_globex_fixed_income.py +136 -136
 - pandas_market_calendars/calendars/cme_globex_fx.py +101 -101
 - pandas_market_calendars/calendars/eurex.py +139 -131
 - pandas_market_calendars/calendars/eurex_fixed_income.py +106 -98
 - pandas_market_calendars/calendars/hkex.py +437 -431
 - pandas_market_calendars/calendars/ice.py +89 -81
 - pandas_market_calendars/calendars/iex.py +163 -155
 - pandas_market_calendars/calendars/jpx.py +125 -117
 - pandas_market_calendars/calendars/lse.py +126 -118
 - pandas_market_calendars/calendars/mirror.py +144 -144
 - pandas_market_calendars/calendars/nyse.py +1462 -1466
 - pandas_market_calendars/calendars/ose.py +124 -118
 - pandas_market_calendars/calendars/sifma.py +391 -383
 - pandas_market_calendars/calendars/six.py +144 -136
 - pandas_market_calendars/calendars/sse.py +305 -315
 - pandas_market_calendars/calendars/tase.py +232 -224
 - pandas_market_calendars/calendars/tsx.py +193 -185
 - pandas_market_calendars/class_registry.py +115 -115
 - pandas_market_calendars/holidays/cme.py +385 -385
 - pandas_market_calendars/holidays/cme_globex.py +214 -214
 - pandas_market_calendars/holidays/cn.py +1476 -1476
 - pandas_market_calendars/holidays/jp.py +401 -401
 - pandas_market_calendars/holidays/jpx_equinox.py +506 -506
 - pandas_market_calendars/holidays/nyse.py +1536 -1536
 - pandas_market_calendars/holidays/oz.py +82 -63
 - pandas_market_calendars/holidays/sifma.py +350 -350
 - pandas_market_calendars/holidays/uk.py +186 -186
 - pandas_market_calendars/holidays/us.py +376 -376
 - pandas_market_calendars/market_calendar.py +1006 -1008
 - {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.3.dist-info}/METADATA +5 -4
 - pandas_market_calendars-5.1.3.dist-info/RECORD +50 -0
 - {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.3.dist-info}/WHEEL +1 -1
 - pandas_market_calendars-5.1.0.dist-info/RECORD +0 -50
 - {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.3.dist-info}/licenses/LICENSE +0 -0
 - {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.3.dist-info}/licenses/NOTICE +0 -0
 - {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.3.dist-info}/top_level.txt +0 -0
 
| 
         @@ -1,63 +1,82 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # OZ Holidays
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            from pandas import DateOffset, Timestamp
         
     | 
| 
       4 
     | 
    
         
            -
            from pandas.tseries.holiday import (
         
     | 
| 
       5 
     | 
    
         
            -
                Holiday,
         
     | 
| 
       6 
     | 
    
         
            -
                MO,
         
     | 
| 
       7 
     | 
    
         
            -
                next_monday_or_tuesday,
         
     | 
| 
       8 
     | 
    
         
            -
                weekend_to_monday,
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                 
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
       16 
     | 
    
         
            -
                 
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                 
     | 
| 
       23 
     | 
    
         
            -
                 
     | 
| 
       24 
     | 
    
         
            -
                 
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
                 
     | 
| 
       31 
     | 
    
         
            -
                 
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
                 
     | 
| 
       38 
     | 
    
         
            -
                 
     | 
| 
       39 
     | 
    
         
            -
                 
     | 
| 
       40 
     | 
    
         
            -
            )
         
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
            Christmas 
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
                 
     | 
| 
       46 
     | 
    
         
            -
                 
     | 
| 
       47 
     | 
    
         
            -
                 
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
                 
     | 
| 
       54 
     | 
    
         
            -
                 
     | 
| 
       55 
     | 
    
         
            -
                 
     | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            # OZ Holidays
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            from pandas import DateOffset, Timestamp
         
     | 
| 
      
 4 
     | 
    
         
            +
            from pandas.tseries.holiday import (
         
     | 
| 
      
 5 
     | 
    
         
            +
                Holiday,
         
     | 
| 
      
 6 
     | 
    
         
            +
                MO,
         
     | 
| 
      
 7 
     | 
    
         
            +
                next_monday_or_tuesday,
         
     | 
| 
      
 8 
     | 
    
         
            +
                weekend_to_monday,
         
     | 
| 
      
 9 
     | 
    
         
            +
                previous_friday,
         
     | 
| 
      
 10 
     | 
    
         
            +
            )
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            # New Year's Day
         
     | 
| 
      
 13 
     | 
    
         
            +
            OZNewYearsDay = Holiday(
         
     | 
| 
      
 14 
     | 
    
         
            +
                "New Year's Day",
         
     | 
| 
      
 15 
     | 
    
         
            +
                month=1,
         
     | 
| 
      
 16 
     | 
    
         
            +
                day=1,
         
     | 
| 
      
 17 
     | 
    
         
            +
                observance=weekend_to_monday,
         
     | 
| 
      
 18 
     | 
    
         
            +
            )
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            # Australia Day
         
     | 
| 
      
 21 
     | 
    
         
            +
            AustraliaDay = Holiday(
         
     | 
| 
      
 22 
     | 
    
         
            +
                "Australia Day",
         
     | 
| 
      
 23 
     | 
    
         
            +
                month=1,
         
     | 
| 
      
 24 
     | 
    
         
            +
                day=26,
         
     | 
| 
      
 25 
     | 
    
         
            +
                observance=weekend_to_monday,
         
     | 
| 
      
 26 
     | 
    
         
            +
            )
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            # ANZAC Day
         
     | 
| 
      
 29 
     | 
    
         
            +
            AnzacDay = Holiday(
         
     | 
| 
      
 30 
     | 
    
         
            +
                "ANZAC Day",
         
     | 
| 
      
 31 
     | 
    
         
            +
                month=4,
         
     | 
| 
      
 32 
     | 
    
         
            +
                day=25,
         
     | 
| 
      
 33 
     | 
    
         
            +
            )
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            # Queen's Birthday
         
     | 
| 
      
 36 
     | 
    
         
            +
            QueensBirthday = Holiday(
         
     | 
| 
      
 37 
     | 
    
         
            +
                "Queen's Birthday",
         
     | 
| 
      
 38 
     | 
    
         
            +
                month=6,
         
     | 
| 
      
 39 
     | 
    
         
            +
                day=1,
         
     | 
| 
      
 40 
     | 
    
         
            +
                offset=DateOffset(weekday=MO(2)),
         
     | 
| 
      
 41 
     | 
    
         
            +
            )
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            # Christmas
         
     | 
| 
      
 44 
     | 
    
         
            +
            Christmas = Holiday(
         
     | 
| 
      
 45 
     | 
    
         
            +
                "Christmas",
         
     | 
| 
      
 46 
     | 
    
         
            +
                month=12,
         
     | 
| 
      
 47 
     | 
    
         
            +
                day=25,
         
     | 
| 
      
 48 
     | 
    
         
            +
                observance=weekend_to_monday,
         
     | 
| 
      
 49 
     | 
    
         
            +
            )
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            # Boxing day
         
     | 
| 
      
 52 
     | 
    
         
            +
            BoxingDay = Holiday(
         
     | 
| 
      
 53 
     | 
    
         
            +
                "Boxing Day",
         
     | 
| 
      
 54 
     | 
    
         
            +
                month=12,
         
     | 
| 
      
 55 
     | 
    
         
            +
                day=26,
         
     | 
| 
      
 56 
     | 
    
         
            +
                observance=next_monday_or_tuesday,
         
     | 
| 
      
 57 
     | 
    
         
            +
            )
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
            # One-off holiday additions and removals in Australia
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
            UniqueCloses = []
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
            # National Day of Mourning for Her Majesty the Queen
         
     | 
| 
      
 64 
     | 
    
         
            +
            UniqueCloses.append(Timestamp("2022-09-22", tz="UTC"))
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
            # Early closes
         
     | 
| 
      
 68 
     | 
    
         
            +
            # Christmas Eve
         
     | 
| 
      
 69 
     | 
    
         
            +
            ChristmasEve = Holiday(
         
     | 
| 
      
 70 
     | 
    
         
            +
                "Christmas Eve",
         
     | 
| 
      
 71 
     | 
    
         
            +
                month=12,
         
     | 
| 
      
 72 
     | 
    
         
            +
                day=24,
         
     | 
| 
      
 73 
     | 
    
         
            +
                observance=previous_friday,
         
     | 
| 
      
 74 
     | 
    
         
            +
            )
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
            # New Year's Eve
         
     | 
| 
      
 77 
     | 
    
         
            +
            NewYearsEve = Holiday(
         
     | 
| 
      
 78 
     | 
    
         
            +
                "New Year's Eve",
         
     | 
| 
      
 79 
     | 
    
         
            +
                month=12,
         
     | 
| 
      
 80 
     | 
    
         
            +
                day=31,
         
     | 
| 
      
 81 
     | 
    
         
            +
                observance=previous_friday,
         
     | 
| 
      
 82 
     | 
    
         
            +
            )
         
     |