''

def login(self):

    if (self.userID and self.password and self.brokerID):
        req = dict()
        req['UserID'] = self.userID
        req['Password'] = self.password
        req['BrokerID'] = self.brokerID
        self.reqID += 1
        self.reqUserLogin(req, self.reqID)
