mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 19:13:52 +00:00
18 lines
300 B
Go
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}
|
|
}
|