bbgo_origin/pkg/exchange/bitget/bitgetapi/v2/client.go

22 lines
381 B
Go
Raw Permalink Normal View History

2023-11-05 15:41:57 +00:00
package bitgetapi
import (
"github.com/c9s/requestgen"
"github.com/c9s/bbgo/pkg/exchange/bitget/bitgetapi"
)
2023-11-10 13:56:18 +00:00
const (
PrivateWebSocketURL = "wss://ws.bitget.com/v2/ws/private"
)
2023-11-05 15:41:57 +00:00
type APIResponse = bitgetapi.APIResponse
type Client struct {
Client requestgen.AuthenticatedAPIClient
}
func NewClient(client *bitgetapi.RestClient) *Client {
return &Client{Client: client}
}