def __init__(self, orderbook): Event.__init__(self) self.orderbook = orderbook
def __init__(self, intervalFunc): Event.__init__(self) self._wakeUp = bind.Method(self, '_wakeUp_impl') self.intervalFunc = intervalFunc self._cancelled = False
def __init__(self, trader): Event.__init__(self) self.trader = trader