code: def cancelPnLSingle(
              self, account: str, modelCode: str, conId: int):
          
          key = (account, modelCode, conId)
          reqId = self.wrapper.pnlSingleKey2ReqId.pop(key, None)
          if reqId:
              self.client.cancelPnLSingle(reqId)
              self.wrapper.pnlSingles.pop(reqId, None)
          else:
              self._logger.error(
                  'cancelPnLSingle: No subscription for '
                  f'account {account}, modelCode {modelCode}, conId {conId}')
docs: Cancel PnLSingle subscription for the given account, modelCode
          and conId.
  
          Args:
              account: Cancel for this account name.
              modelCode: Cancel for this account model.
              conId: Cancel for this contract ID.