code: def cancelPnL(self, account, modelCode: str = ''):
          
          key = (account, modelCode)
          reqId = self.wrapper.pnlKey2ReqId.pop(key, None)
          if reqId:
              self.client.cancelPnL(reqId)
              self.wrapper.pnls.pop(reqId, None)
          else:
              self._logger.error(
                  'cancelPnL: No subscription for '
                  f'account {account}, modelCode {modelCode}')
docs: Cancel PnL subscription.
  
          Args:
              account: Cancel for this account.
              modelCode: If specified, cancel for this account model.