MAINT: DataPortal env -> asset_finder

This commit is contained in:
jfkirk
2016-06-08 13:34:22 -04:00
committed by Jean Bredeche
parent 53fcdde66d
commit 2a8f69fc01
15 changed files with 62 additions and 62 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ class SlippageTestCase(WithSimParams, WithDataPortal, ZiplineTestCase):
with tmp_bcolz_minute_bar_reader(self.trading_schedule, days, assets) \
as reader:
data_portal = DataPortal(
self.env, self.trading_schedule,
self.env.asset_finder, self.trading_schedule,
first_trading_day=reader.first_trading_day,
equity_minute_reader=reader,
)
@@ -484,7 +484,7 @@ class SlippageTestCase(WithSimParams, WithDataPortal, ZiplineTestCase):
with tmp_bcolz_minute_bar_reader(self.trading_schedule, days, assets) \
as reader:
data_portal = DataPortal(
self.env, self.trading_schedule,
self.env.asset_finder, self.trading_schedule,
first_trading_day=reader.first_trading_day,
equity_minute_reader=reader,
)