'generated source for method reqExecutions'

@synchronized(mlock)
def reqExecutions(self, reqId, filter):

    if (not self.m_connected):
        self.notConnected()
        return
    VERSION = 3
    try:
        self.send(self.REQ_EXECUTIONS)
        self.send(VERSION)
        if (self.m_serverVersion >= self.MIN_SERVER_VER_EXECUTION_DATA_CHAIN):
            self.send(reqId)
        if (self.m_serverVersion >= 9):
            self.send(filter.m_clientId)
            self.send(filter.m_acctCode)
            self.send(filter.m_time)
            self.send(filter.m_symbol)
            self.send(filter.m_secType)
            self.send(filter.m_exchange)
            self.send(filter.m_side)
    except Exception as e:
        self.error(EClientErrors.NO_VALID_ID, EClientErrors.FAIL_SEND_EXEC, str(e))
        self.close()
