Skip to content

Commit

Permalink
MAINT: Update trading hours in Brazilian Stock Exchange
Browse files Browse the repository at this point in the history
Fix #96
  • Loading branch information
willianpaixao committed Nov 7, 2019
1 parent a2a60af commit bedf16d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion trading_calendars/exchange_calendar_bvmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# limitations under the License.

from datetime import time

import pandas as pd
from pandas.tseries.holiday import (
Holiday,
Easter,
Expand Down Expand Up @@ -149,7 +151,9 @@ class BVMFExchangeCalendar(TradingCalendar):
Exchange calendar for BM&F BOVESPA (BVMF).
Open Time: 10:00 AM, Brazil/Sao Paulo
Close Time: 5:00 PM, Brazil/Sao Paulo
Close Time:
- Until 2019-11-01: 5:00 PM, Brazil/Sao Paulo
- Starting from 2019-11-04: 6:00 PM, Brazil/Sao Paulo
Regularly-Observed Holidays:
- Universal Confraternization (New year's day, Jan 1)
Expand Down Expand Up @@ -183,6 +187,7 @@ class BVMFExchangeCalendar(TradingCalendar):

close_times = (
(None, time(17, 0)),
(pd.Timestamp('2019-11-04'), time(18, 0)),
)

@property
Expand Down

0 comments on commit bedf16d

Please sign in to comment.