mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
patching test to match new MovingAverage init.
This commit is contained in:
1 parent
dc16d6ec9e
commit
acc88793ad
1 file changed
+3
-2
@@ -351,8 +351,9 @@ class ComponentTestCase(TestCase):
|
||||
passthrough = StatefulTransform(Passthrough)
|
||||
mavg_price = StatefulTransform(
|
||||
MovingAverage,
|
||||
timedelta(minutes = 20),
|
||||
['price']
|
||||
['price'],
|
||||
market_aware = False,
|
||||
delta=timedelta(minutes = 20)
|
||||
)
|
||||
|
||||
merged_gen = merged_transforms(sorted, passthrough, mavg_price)
|
||||
|
||||
Reference in new issue
Block a user