mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 08:29:21 +08:00
MAINT: Remove _period_trading_days member from TradingEnvironment.
Now that the period_trading_days method is removed, the internal member that cached the value, is also no longer needed.
This commit is contained in:
@@ -92,7 +92,6 @@ class TradingEnvironment(object):
|
||||
if max_date:
|
||||
self.treasury_curves = self.treasury_curves[:max_date]
|
||||
|
||||
self._period_trading_days = None
|
||||
self._trading_days_series = None
|
||||
self.full_trading_day = datetime.timedelta(hours=6, minutes=30)
|
||||
self.exchange_tz = exchange_tz
|
||||
|
||||
Reference in New Issue
Block a user