mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
MAINT: Restore @property decorator
This will keep `opens`, `closes`, `early_closes`, etc to the same pattern.
This commit is contained in:
1 parent
285b5f7d77
commit
265c02b0c1
1 file changed
+1
@@ -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