docs: def ticker(self, contract: Contract) -> Ticker:
          """
          Get ticker of the given contract. It must have been requested before
          with reqMktData with the same contract object. The ticker may not be
          ready yet if called directly after :meth:`.reqMktData`.
  
          Args:
              contract: Contract to get ticker for.
          """
          return self.wrapper.tickers.get(id(contract))