parameters: (self, req: CancelRequest, gateway_name: str)
docstring: Send cancel order request to a specific gateway.
docstring_summary: Send cancel order request to a specific gateway.
docstring_tokens: Send cancel order request to a specific gateway .
function: def cancel_order(self, req: CancelRequest, gateway_name: str) -> None:
          """
          Send cancel order request to a specific gateway.
          """
          gateway = self.get_gateway(gateway_name)
          if gateway:
              gateway.cancel_order(req)
function_tokens: def cancel_order ( self , req : CancelRequest , gateway_name : str ) -> None : gateway = self . get_gateway ( gateway_name ) if gateway : gateway . cancel_order ( req )