'generated source for method cancelFundamentalData'

@synchronized(mlock)
def cancelFundamentalData(self, reqId):

    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
    VERSION = 1
    try:
        self.send(self.CANCEL_FUNDAMENTAL_DATA)
        self.send(VERSION)
        self.send(reqId)
    except Exception as e:
        self.error(reqId, EClientErrors.FAIL_SEND_CANFUNDDATA, str(e))
        self.close()
