pub fn get_ws_url(endpoint_type: OKXEndpointType, is_demo: bool) -> String
Gets WebSocket URL by endpoint type.