def __init__(self, data, parent=None, message=None): """ Initializer. @param data mutable sequence with some values @param parent=None parent item @param message=None ib package message instance """ BasicItem.__init__(self, data, parent) self.message = message self.previousValues = {}
def __init__(self, values, requestId, request, message, parent=None): """ Initializer. @param values sequence of data for this item @param requestId historical data request id as int @param request request parameters as dictionary @param message ib.opt.message object @param parent=None parent of this item """ BasicItem.__init__(self, values, parent) self.requestId = requestId self.request = request self.message = message
def __init__(self, values, requestId=None, request={}, model=None, parent=None): """ Initializer. @param values sequence of values for this item @param requestId=None historical data request id as int @param request={} request parameters as dictionary @param model=None data model with messages for this request @param parent=None parent of this item """ BasicItem.__init__(self, values, parent) self.requestId = requestId self.request = request self.model = model self.queued = False
def __init__(self, data, parent=None, message=None): BasicItem.__init__(self, data, parent) self.message = message