Closed mateusfmello closed 3 months ago
ws := bybit.NewBybitPublicWebSocket("wss://stream.bybit.com/v5/public/spot", func(message string) error {
fmt.Println("Received:", message)
return nil
})
_ = ws.Connect([]string{"orderbook.1.BTCUSDT"})
select {}
refactor websocket and release next version 1.0.3
Hello, I am getting this error after hours of connecting to testnet websocket server.
How do I create the instance
I create a goroutine to check if it is able to communicate with the server