mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 12:53:36 +08:00
MAINT: Removed unused holiday definitions
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from datetime import time
|
||||
from pandas.tseries.holiday import(
|
||||
AbstractHolidayCalendar,
|
||||
Holiday,
|
||||
Easter,
|
||||
Day,
|
||||
@@ -132,43 +131,6 @@ AnoNovoSabado = Holiday(
|
||||
)
|
||||
|
||||
|
||||
class BMFHolidayCalendar(AbstractHolidayCalendar):
|
||||
"""
|
||||
Non-trading days for the BM&F.
|
||||
|
||||
See NYSEExchangeCalendar for full description.
|
||||
"""
|
||||
rules = [
|
||||
ConfUniversal,
|
||||
AniversarioSaoPaulo,
|
||||
CarnavalSegunda,
|
||||
CarnavalTerca,
|
||||
SextaPaixao,
|
||||
CorpusChristi,
|
||||
Tiradentes,
|
||||
DiaTrabalho,
|
||||
Constitucionalista,
|
||||
Independencia,
|
||||
Aparecida,
|
||||
Finados,
|
||||
ProclamacaoRepublica,
|
||||
ConscienciaNegra,
|
||||
VesperaNatal,
|
||||
Natal,
|
||||
AnoNovo,
|
||||
AnoNovoSabado,
|
||||
]
|
||||
|
||||
|
||||
class BMFLateOpenCalendar(AbstractHolidayCalendar):
|
||||
"""
|
||||
Regular early close calendar for NYSE
|
||||
"""
|
||||
rules = [
|
||||
QuartaCinzas,
|
||||
]
|
||||
|
||||
|
||||
class BMFExchangeCalendar(TradingCalendar):
|
||||
"""
|
||||
Exchange calendar for BM&F BOVESPA
|
||||
|
||||
Reference in New Issue
Block a user