bbgo_origin/pkg/exchange/bybit/bybitapi/v3/client.go
2023-08-07 14:58:20 +08:00

18 lines
300 B
Go

package v3
import (
"github.com/c9s/requestgen"
"github.com/c9s/bbgo/pkg/exchange/bybit/bybitapi"
)
type APIResponse = bybitapi.APIResponse
type Client struct {
Client requestgen.AuthenticatedAPIClient
}
func NewClient(client *bybitapi.RestClient) *Client {
return &Client{Client: client}
}