Files
catalyst/zipline/transforms/__init__.py
T
2012-05-14 10:57:40 -04:00

26 lines
800 B
Python

"""
Transforms
==========
Transforms provide re-useable components for stream processing. All
Transforms expect to receive data events from zipline.core.DataFeed
asynchronously via zeromq. Each transform is designed to run in independent
process space, independently of all other transforms, to allow for parallel
computation.
Each transform must maintain the state necessary to calculate the transform of
each new feed events.
To simplify the consumption of feed and transform data events, this module
also provides the TransformsMerge class. TransformsMerge initializes as set of
transforms and subscribes to their output. Each feed event is then combined with
all the transforms of that event into a single new message.
"""
from base import BaseTransform
__all__ = [
BaseTransform,
]