pandas-market-calendars 5.1.0__py3-none-any.whl → 5.1.1__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 +57 -57
- pandas_market_calendars/calendar_utils.py +1151 -1151
- pandas_market_calendars/calendars/asx.py +77 -70
- pandas_market_calendars/calendars/bmf.py +226 -219
- pandas_market_calendars/calendars/bse.py +432 -425
- pandas_market_calendars/calendars/cboe.py +156 -149
- pandas_market_calendars/calendars/cme.py +412 -405
- pandas_market_calendars/calendars/cme_globex_agriculture.py +172 -172
- pandas_market_calendars/calendars/cme_globex_base.py +126 -119
- pandas_market_calendars/calendars/cme_globex_crypto.py +165 -158
- pandas_market_calendars/calendars/cme_globex_energy_and_metals.py +223 -216
- pandas_market_calendars/calendars/cme_globex_equities.py +130 -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 +138 -131
- pandas_market_calendars/calendars/eurex_fixed_income.py +105 -98
- pandas_market_calendars/calendars/hkex.py +438 -431
- pandas_market_calendars/calendars/ice.py +88 -81
- pandas_market_calendars/calendars/iex.py +162 -155
- pandas_market_calendars/calendars/jpx.py +124 -117
- pandas_market_calendars/calendars/lse.py +125 -118
- pandas_market_calendars/calendars/mirror.py +144 -144
- pandas_market_calendars/calendars/nyse.py +1472 -1466
- pandas_market_calendars/calendars/ose.py +125 -118
- pandas_market_calendars/calendars/sifma.py +390 -383
- pandas_market_calendars/calendars/six.py +143 -136
- pandas_market_calendars/calendars/sse.py +322 -315
- pandas_market_calendars/calendars/tase.py +231 -224
- pandas_market_calendars/calendars/tsx.py +192 -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 +63 -63
- pandas_market_calendars/holidays/sifma.py +350 -350
- pandas_market_calendars/holidays/us.py +376 -376
- pandas_market_calendars/market_calendar.py +1008 -1008
- {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/METADATA +3 -1
- pandas_market_calendars-5.1.1.dist-info/RECORD +50 -0
- {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.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.1.dist-info}/licenses/LICENSE +0 -0
- {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/licenses/NOTICE +0 -0
- {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/top_level.txt +0 -0
@@ -1,63 +1,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
|
-
)
|
10
|
-
|
11
|
-
# New Year's Day
|
12
|
-
OZNewYearsDay = Holiday(
|
13
|
-
"New Year's Day",
|
14
|
-
month=1,
|
15
|
-
day=1,
|
16
|
-
observance=weekend_to_monday,
|
17
|
-
)
|
18
|
-
|
19
|
-
# Australia Day
|
20
|
-
AustraliaDay = Holiday(
|
21
|
-
"Australia Day",
|
22
|
-
month=1,
|
23
|
-
day=26,
|
24
|
-
observance=weekend_to_monday,
|
25
|
-
)
|
26
|
-
|
27
|
-
# ANZAC Day
|
28
|
-
AnzacDay = Holiday(
|
29
|
-
"ANZAC Day",
|
30
|
-
month=4,
|
31
|
-
day=25,
|
32
|
-
)
|
33
|
-
|
34
|
-
# Queen's Birthday
|
35
|
-
QueensBirthday = Holiday(
|
36
|
-
"Queen's Birthday",
|
37
|
-
month=6,
|
38
|
-
day=1,
|
39
|
-
offset=DateOffset(weekday=MO(2)),
|
40
|
-
)
|
41
|
-
|
42
|
-
# Christmas
|
43
|
-
Christmas = Holiday(
|
44
|
-
"Christmas",
|
45
|
-
month=12,
|
46
|
-
day=25,
|
47
|
-
observance=weekend_to_monday,
|
48
|
-
)
|
49
|
-
|
50
|
-
# Boxing day
|
51
|
-
BoxingDay = Holiday(
|
52
|
-
"Boxing Day",
|
53
|
-
month=12,
|
54
|
-
day=26,
|
55
|
-
observance=next_monday_or_tuesday,
|
56
|
-
)
|
57
|
-
|
58
|
-
# One-off holiday additions and removals in Australia
|
59
|
-
|
60
|
-
UniqueCloses = []
|
61
|
-
|
62
|
-
# National Day of Mourning for Her Majesty the Queen
|
63
|
-
UniqueCloses.append(Timestamp("2022-09-22", tz="UTC"))
|
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
|
+
# New Year's Day
|
12
|
+
OZNewYearsDay = Holiday(
|
13
|
+
"New Year's Day",
|
14
|
+
month=1,
|
15
|
+
day=1,
|
16
|
+
observance=weekend_to_monday,
|
17
|
+
)
|
18
|
+
|
19
|
+
# Australia Day
|
20
|
+
AustraliaDay = Holiday(
|
21
|
+
"Australia Day",
|
22
|
+
month=1,
|
23
|
+
day=26,
|
24
|
+
observance=weekend_to_monday,
|
25
|
+
)
|
26
|
+
|
27
|
+
# ANZAC Day
|
28
|
+
AnzacDay = Holiday(
|
29
|
+
"ANZAC Day",
|
30
|
+
month=4,
|
31
|
+
day=25,
|
32
|
+
)
|
33
|
+
|
34
|
+
# Queen's Birthday
|
35
|
+
QueensBirthday = Holiday(
|
36
|
+
"Queen's Birthday",
|
37
|
+
month=6,
|
38
|
+
day=1,
|
39
|
+
offset=DateOffset(weekday=MO(2)),
|
40
|
+
)
|
41
|
+
|
42
|
+
# Christmas
|
43
|
+
Christmas = Holiday(
|
44
|
+
"Christmas",
|
45
|
+
month=12,
|
46
|
+
day=25,
|
47
|
+
observance=weekend_to_monday,
|
48
|
+
)
|
49
|
+
|
50
|
+
# Boxing day
|
51
|
+
BoxingDay = Holiday(
|
52
|
+
"Boxing Day",
|
53
|
+
month=12,
|
54
|
+
day=26,
|
55
|
+
observance=next_monday_or_tuesday,
|
56
|
+
)
|
57
|
+
|
58
|
+
# One-off holiday additions and removals in Australia
|
59
|
+
|
60
|
+
UniqueCloses = []
|
61
|
+
|
62
|
+
# National Day of Mourning for Her Majesty the Queen
|
63
|
+
UniqueCloses.append(Timestamp("2022-09-22", tz="UTC"))
|