Skip to content

Commit

Permalink
Merge pull request #140 from ucaiado/update-bvmf-calendar
Browse files Browse the repository at this point in the history
ENH: Update the Brazilian holidays' calendar
  • Loading branch information
gerrymanoim authored Aug 12, 2020
2 parents d9fc42c + 4ba3538 commit 493e1fd
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions trading_calendars/exchange_calendar_bvmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,18 @@
day=1,
)
# Constitutionalist Revolution
Constitucionalista = Holiday(
'Constitucionalista',
Constitucionalista_prepandemic = Holiday(
'Constitucionalista pre-pandemia',
month=7,
day=9,
start_date='1998-01-01'
start_date='1998-01-01',
end_date='2020-01-01'
)
Constitucionalista_pospandemic = Holiday(
'Constitucionalista pos-pandemia',
month=7,
day=9,
start_date='2021-01-01'
)
# Independence Day
Independencia = Holiday(
Expand Down Expand Up @@ -205,7 +212,8 @@ def regular_holidays(self):
CorpusChristi,
Tiradentes,
DiaTrabalho,
Constitucionalista,
Constitucionalista_prepandemic,
Constitucionalista_pospandemic,
Independencia,
Aparecida,
Finados,
Expand Down

0 comments on commit 493e1fd

Please sign in to comment.