fixed documentation on event callback method.

This commit is contained in:
fawce
2012-03-16 17:56:53 -04:00
parent a2c4babd93
commit 3af850948c
+3 -1
View File
@@ -39,7 +39,9 @@ class TradeSimulationClient(qmsg.Component):
def add_event_callback(self, callback):
"""
:param callable callback: must be a function with the signature
f(frame).
f(event), where event is a namedict whose properties depend on the
upstream configuration of the zipline. It will include datasource and
transformations.
"""
self.event_callbacks.append(callback)