func (p *DepthWebSocketClient) UnSubscribe(symbol string, step string, clientId string) {
	topic := fmt.Sprintf("market.%s.depth.%s", symbol, step)
	unsub := fmt.Sprintf("{\"unsub\": \"%s\",\"id\": \"%s\" }", topic, clientId)
	p.Send(unsub)
	applogger.Info("WebSocket unsubscribed, topic=%s, clientId=%s", topic, clientId)
}
Unsubscribe market by price order book
package marketwebsocketclient
import (
	"encoding/json"
	"fmt"
	"github.com/huobirdcenter/huobi_golang/logging/applogger"
	"github.com/huobirdcenter/huobi_golang/pkg/client/websocketclientbase"
	"github.com/huobirdcenter/huobi_golang/pkg/model/market"
)
type DepthWebSocketClient struct {
	websocketclientbase.WebSocketClientBase
}
func (p *DepthWebSocketClient) Init(host string) *DepthWebSocketClient {
	p.WebSocketClientBase.Init(host)
	return p
}
func (p *DepthWebSocketClient) SetHandler(
	connectedHandler websocketclientbase.ConnectedHandler,
	responseHandler websocketclientbase.ResponseHandler) {
	p.WebSocketClientBase.SetHandler(connectedHandler, p.handleMessage, responseHandler)
}
func (p *DepthWebSocketClient) Request(symbol string, step string, clientId string) {
	topic := fmt.Sprintf("market.%s.depth.%s", symbol, step)
	req := fmt.Sprintf("{\"req\": \"%s\",\"id\": \"%s\" }", topic, clientId)
	p.WebSocketClientBase.Send(req)
	applogger.Info("WebSocket requested, topic=%s, clientId=%s", topic, clientId)
}
func (p *DepthWebSocketClient) Subscribe(symbol string, step string, clientId string) {
	topic := fmt.Sprintf("market.%s.depth.%s", symbol, step)
	sub := fmt.Sprintf("{\"sub\": \"%s\",\"id\": \"%s\" }", topic, clientId)
	p.Send(sub)
	applogger.Info("WebSocket subscribed, topic=%s, clientId=%s", topic, clientId)
}