@classmethod
    def updatePortfolio(cls, contract, position, marketPrice, marketValue, averageCost, unrealizedPNL, realizedPNL, accountName):
        msg = "updatePortfolio: " + cls.contractMsg(contract) + \
              str(position) + " " + str(marketPrice) + " " + str(marketValue) + \
              " " + str(averageCost) + " " + str(unrealizedPNL) + " " + \
              str(realizedPNL) + " " + accountName
        return msg
generated source for method updatePortfolio
dataset/ETHPy150Open CarterBain/Medici/ib/ext/EWrapperMsgGenerator.py/EWrapperMsgGenerator.updatePortfolio