mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
patching test to match new MovingAverage init.
This commit is contained in:
@@ -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