mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 00:32:32 +08:00
MAINT: Remove unused members of TradingEnvironment.
The following members are no longer referenced elsewhere: - `full_trading_day` - `early_close_trading_day`
This commit is contained in:
@@ -95,8 +95,6 @@ class TradingEnvironment(object):
|
||||
if max_date:
|
||||
self.treasury_curves = self.treasury_curves.ix[:max_date, :]
|
||||
|
||||
self.full_trading_day = datetime.timedelta(hours=6, minutes=30)
|
||||
self.early_close_trading_day = datetime.timedelta(hours=3, minutes=30)
|
||||
self.exchange_tz = exchange_tz
|
||||
|
||||
bi = self.benchmark_returns.index
|
||||
|
||||
Reference in New Issue
Block a user