title: How to subscribe binance via websocket by pyside6?
body: <p>i can get stream by this code:</p>
  <pre><code>from PySide6.QtWebSockets import QWebSocket
  
  ...
  
  self.websocket = QWebSocket()
  self.websocket_base_url = 'wss://stream.binance.com:9443/ws'
  self.websocket.open(self.websocket_base_url + '/btcusdt@kline_5m')
  self.websocket.textMessageReceived.connect(self.on_message_received)
  
  def on_message_received(self, msg):
      print(msg)
  
  </code></pre>
  <p>this can received stream normally, but i want to use subscribe, so i write this:</p>
  <pre><code>self.websocket = QWebSocket()
  self.websocket_base_url = 'wss://stream.binance.com:9443/ws'
  self.websocket.open(self.websocket_base_url)
  
  info = {
      &quot;method&quot;: &quot;SUBSCRIBE&quot;,
       &quot;params&quot;:
        [
             &quot;btcusdt@aggTrade&quot;
         ],
         &quot;id&quot;: 1
  }
  
  ret = self.websocket.sendTextMessage(json.dumps(info))
  print(str(self.websocket.state()))
  self.websocket.textMessageReceived.connect(self.on_message_received)
  
  def on_message_received(self, msg):
      print(msg)
  </code></pre>
  <p>print() output: PySide6.QtNetwork.QAbstractSocket.SocketState.ConnectingState
  and self.on_message_received() no message received.</p>
  <p>i dont know why...</p>