ENH: Remove need to pass sid to TALib transform constructor.

Now that BatchTransforms use RollingPanels under the hood, passing
an sid is no longer needed, passing the data will to handle_data
will suffice.
This commit is contained in:
Eddie Hebert
2013-06-27 19:12:01 -04:00
parent 832a39706e
commit 5d76c0b8a4
2 changed files with 3 additions and 8 deletions
+2 -2
View File
@@ -344,8 +344,8 @@ class TestTALIB(TestCase):
# factory.create_test_panel_ohlc_source(self.sim_params)
def test_multiple_talib_with_args(self):
zipline_transforms = [ta.MA(0, window_length=10),
ta.MA(0, window_length=25)]
zipline_transforms = [ta.MA(window_length=10),
ta.MA(window_length=25)]
talib_fn = talib.abstract.MA
algo = TALIBAlgorithm(talib=zipline_transforms)
algo.run(self.source)