18 lines
308 B
Go
18 lines
308 B
Go
package v3
|
|
|
|
import (
|
|
"github.com/c9s/requestgen"
|
|
|
|
"git.qtrade.icu/lychiyu/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}
|
|
}
|