original_docstring: 
          Subscribe to tick data upate.
          
docstring: Subscribe to tick data upate.
docstring_tokens: Subscribe to tick data upate .
code: def subscribe(self, req: SubscribeRequest):
          """
          Subscribe to tick data upate.
          """
          tick = TickData(
              symbol=req.symbol,
              exchange=req.exchange,
              name=req.symbol,
              datetime=datetime.now(),
              gateway_name=self.gateway_name,
          )
          self.ticks[req.symbol] = tick
code_tokens: def subscribe ( self , req : SubscribeRequest ) : tick = TickData ( symbol = req . symbol , exchange = req . exchange , name = req . symbol , datetime = datetime . now ( ) , gateway_name = self . gateway_name , ) self . ticks [ req . symbol ] = tick
short_docstring: Subscribe to tick data upate.
short_docstring_tokens: Subscribe to tick data upate .
comment: """
          Subscribe to tick data upate.
          """