mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-09 11:41:58 +08:00
TEST: Pass cls.env for test_handle_adjustment.
Otherwise we inseret random assets into a new TradingEnvironment, which is surprising in debugging.
This commit is contained in:
@@ -494,6 +494,7 @@ class FFCAlgorithmTestCase(TestCase):
|
||||
ffc_loader=self.ffc_loader,
|
||||
start=self.dates[max(window_lengths)],
|
||||
end=self.dates[-1],
|
||||
env=self.env,
|
||||
)
|
||||
|
||||
algo.run(
|
||||
|
||||
Reference in New Issue
Block a user