'generated source for method reqAccountUpdates'

@synchronized(mlock)
def reqAccountUpdates(self, subscribe, acctCode):

    if (not self.m_connected):
        self.notConnected()
        return
    VERSION = 2
    try:
        self.send(self.REQ_ACCOUNT_DATA)
        self.send(VERSION)
        self.send(subscribe)
        if (self.m_serverVersion >= 9):
            self.send(acctCode)
    except Exception as e:
        self.error(EClientErrors.NO_VALID_ID, EClientErrors.FAIL_SEND_ACCT, str(e))
        self.close()
