bbgo_origin/pkg/exchange/bitget/bitgetapi/v2/client.go
2023-11-10 21:56:18 +08:00

22 lines
381 B
Go

package bitgetapi
import (
"github.com/c9s/requestgen"
"github.com/c9s/bbgo/pkg/exchange/bitget/bitgetapi"
)
const (
PrivateWebSocketURL = "wss://ws.bitget.com/v2/ws/private"
)
type APIResponse = bitgetapi.APIResponse
type Client struct {
Client requestgen.AuthenticatedAPIClient
}
func NewClient(client *bitgetapi.RestClient) *Client {
return &Client{Client: client}
}