Zipline import error. No module named zipline.transforms
I am not able to import the zipline.transforms module >>> from zipline.transforms import batch_transform Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'zipline.transforms' Disclaimer: I'm currently a maintainer of Zipline. I'm guessing the reason you're seeing this error is because that particular module was removed a while back (assuming you're using zipline 1.0.0 or later). If you want to do things similar to transforms you'll need to call data.history() to get your pricing data, and call numpy/pandas functions like .avg() or .std() , or