diff --git a/zipline/gens/transform.py b/zipline/gens/transform.py index b191ef61..b61528b1 100644 --- a/zipline/gens/transform.py +++ b/zipline/gens/transform.py @@ -458,6 +458,7 @@ class BatchTransform(EventWindow): self.compute_transform_value = f return self.handle_data + def batch_transform(func): """Decorator function to use instead of inheriting from BatchTransform. For an example on how to use this, see the doc string of BatchTransform.