mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 01:38:30 +08:00
MAINT: Restore @property decorator
This will keep `opens`, `closes`, `early_closes`, etc to the same pattern.
This commit is contained in:
@@ -237,6 +237,7 @@ class TradingCalendar(with_metaclass(ABCMeta)):
|
||||
|
||||
# -----
|
||||
|
||||
@property
|
||||
def opens(self):
|
||||
return self.schedule.market_open
|
||||
|
||||
|
||||
Reference in New Issue
Block a user