bbgo_origin/pkg/exchange/bybit/bybitapi/v3/client.go

18 lines
300 B
Go
Raw Normal View History

2023-07-28 07:37:05 +00:00
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
}
2023-08-07 06:55:09 +00:00
func NewClient(client *bybitapi.RestClient) *Client {
return &Client{Client: client}
}