Logout the session
.. py:method:: logout(passthrough: Optional[Any] = None, req_id: Optional[int] = None) -> int :param passthrough: [Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. :type passthrough: Optional[Any] :param req_id: [Optional] Used to map request to response. :type req_id: Optional[int] :returns: req_id :rtype: int
binary.api.logout()
.. seealso:: * `Binary API Docs for logout <https://developers.binary.com/api/#logout>`_