@classmethod
    def bondContractDetails(cls, reqId, contractDetails):
        contract = contractDetails.m_summary
        msg = "reqId = " + str(reqId) + " ===================================\n" \
              + " ---- Bond Contract Details begin ----\n" \
              + "symbol = " + str(contract.m_symbol) + "\n" \
              + "secType = " + str(contract.m_secType) + "\n" \
              + "cusip = " + str(contractDetails.m_cusip) + "\n" \
              + "coupon = " + str(contractDetails.m_coupon) + "\n" \
              + "maturity = " + str(contractDetails.m_maturity) + "\n" \
              + "issueDate = " + str(contractDetails.m_issueDate) + "\n" \
              + "ratings = " + str(contractDetails.m_ratings) + "\n" \
              + "bondType = " + str(contractDetails.m_bondType) + "\n" \
              + "couponType = " + str(contractDetails.m_couponType) + "\n" \
              + "convertible = " + str(contractDetails.m_convertible) + "\n" \
              + "callable = " + str(contractDetails.m_callable) + "\n" \
              + "putable = " + str(contractDetails.m_putable) + "\n" \
              + "descAppend = " + str(contractDetails.m_descAppend) + "\n" \
              + "exchange = " + str(contract.m_exchange) + "\n" \
              + "currency = " + str(contract.m_currency) + "\n" \
              + "marketName = " + str(contractDetails.m_marketName) + "\n" \
              + "tradingClass = " + str(contractDetails.m_tradingClass) + "\n" \
              + "conid = " + str(contract.m_conId) + "\n" \
              + "minTick = " + str(contractDetails.m_minTick) + "\n" \
              + "orderTypes = " + str(contractDetails.m_orderTypes) + "\n" \
              + "validExchanges = " + str(contractDetails.m_validExchanges) + "\n" \
              + "nextOptionDate = " + str(contractDetails.m_nextOptionDate) + "\n" \
              + "nextOptionType = " + str(contractDetails.m_nextOptionType) + "\n" \
              + "nextOptionPartial = " + str(contractDetails.m_nextOptionPartial) + "\n" \
              + "notes = " + str(contractDetails.m_notes) + "\n" \
              + "longName = " + str(contractDetails.m_longName) + "\n" \
              + "evRule = " + str(contractDetails.m_evRule) + "\n" \
              + "evMultiplier = " + str(contractDetails.m_evMultiplier) + "\n" \
              + cls.contractDetailsSecIdList(contractDetails) \
              + " ---- Bond Contract Details End ----\n"
        return msg
generated source for method bondContractDetails
dataset/ETHPy150Open CarterBain/Medici/ib/ext/EWrapperMsgGenerator.py/EWrapperMsgGenerator.bondContractDetails