title: Can't connect to websocket API
body: <p>Now I’m working on developing WebSocket to get data (ex.btcusdt) from the website FTX
  since the ftx.com you can trade the crypto without having to pay fees and I have a minimum budget</p>
  <p>so now I want to try out to get some data and making my own bot</p>
  <p>but now I’m having a problem with how I connect to the website</p>
  <p>since I watch Binance video I was trying the same way but still didn’t get any message from the &quot; wss://ftx.com/ws/ &quot;</p>
  <p>I do not quite understand the document they provide</p>
  <p>my question is how can I connect to the data stream for example if I want to get the JSON file of BTCUSDT or BULLUSDT</p>
  <p>this is the document they provide
  <a href="https://docs.ftx.com/#websocket-api" rel="nofollow noreferrer">https://docs.ftx.com/#websocket-api</a></p>
  <p>Thank you</p>
  <p>My code</p>
  <pre><code>import websocket
  SOCKET = &quot;wss://ftx.com/ws/&quot;
  def on_open(ws):
      print('opened connection')
  def on_close(ws):
      print('closed connection')
  def on_message(ws, message):
      print(&quot;got message&quot;)
  ws = websocket.WebSocketApp(SOCKET, on_open=on_open, on_close=on_close, on_message=on_message)
  ws.run_forever()
  </code></pre>
  <p>This works find with Binance</p>