Skip to content

Commit 493e1fd

Browse files
author
gerrymanoim
authored
Merge pull request #140 from ucaiado/update-bvmf-calendar
ENH: Update the Brazilian holidays' calendar
2 parents d9fc42c + 4ba3538 commit 493e1fd

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

trading_calendars/exchange_calendar_bvmf.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,18 @@
8181
day=1,
8282
)
8383
# Constitutionalist Revolution
84-
Constitucionalista = Holiday(
85-
'Constitucionalista',
84+
Constitucionalista_prepandemic = Holiday(
85+
'Constitucionalista pre-pandemia',
8686
month=7,
8787
day=9,
88-
start_date='1998-01-01'
88+
start_date='1998-01-01',
89+
end_date='2020-01-01'
90+
)
91+
Constitucionalista_pospandemic = Holiday(
92+
'Constitucionalista pos-pandemia',
93+
month=7,
94+
day=9,
95+
start_date='2021-01-01'
8996
)
9097
# Independence Day
9198
Independencia = Holiday(
@@ -205,7 +212,8 @@ def regular_holidays(self):
205212
CorpusChristi,
206213
Tiradentes,
207214
DiaTrabalho,
208-
Constitucionalista,
215+
Constitucionalista_prepandemic,
216+
Constitucionalista_pospandemic,
209217
Independencia,
210218
Aparecida,
211219
Finados,

0 commit comments

Comments
 (0)