code: def cancelTickByTickData(self, contract: Contract, tickType: str):
          
          ticker = self.ticker(contract)
          reqId = self.wrapper.endTicker(ticker, tickType)
          if reqId:
              self.client.cancelTickByTickData(reqId)
          else:
              self._logger.error(
                  f'cancelMktData: No reqId found for contract {contract}')
docs: Unsubscribe from tick-by-tick data
  
          Args:
              contract: The exact contract object that was used to
                  subscribe with.