'generated source for method reqFundamentalData'

@synchronized(mlock)
def reqFundamentalData(self, reqId, contract, reportType):

    if (not self.m_connected):
        self.notConnected()
        return
    if (self.m_serverVersion < self.MIN_SERVER_VER_FUNDAMENTAL_DATA):
        self.error(reqId, EClientErrors.UPDATE_TWS, '        It    does    not    support    fundamental    data    requests.')
        return
    if (self.m_serverVersion < self.MIN_SERVER_VER_TRADING_CLASS):
        if (contract.m_conId > 0):
            self.error(reqId, EClientErrors.UPDATE_TWS, '        It    does    not    support    conId    parameter    in    reqFundamentalData.')
            return
    VERSION = 2
    try:
        self.send(self.REQ_FUNDAMENTAL_DATA)
        self.send(VERSION)
        self.send(reqId)
        if (self.m_serverVersion >= self.MIN_SERVER_VER_TRADING_CLASS):
            self.send(contract.m_conId)
        self.send(contract.m_symbol)
        self.send(contract.m_secType)
        self.send(contract.m_exchange)
        self.send(contract.m_primaryExch)
        self.send(contract.m_currency)
        self.send(contract.m_localSymbol)
        self.send(reportType)
    except Exception as e:
        self.error(reqId, EClientErrors.FAIL_SEND_REQFUNDDATA, str(e))
        self.close()
