2022-05-24 09:40:00 +00:00
|
|
|
package v3
|
|
|
|
|
|
|
|
import (
|
2022-08-10 07:22:04 +00:00
|
|
|
"github.com/c9s/requestgen"
|
|
|
|
|
2022-05-24 09:40:00 +00:00
|
|
|
maxapi "github.com/c9s/bbgo/pkg/exchange/max/maxapi"
|
|
|
|
)
|
|
|
|
|
2022-05-28 08:06:16 +00:00
|
|
|
// create type alias
|
2022-05-26 11:52:38 +00:00
|
|
|
type WalletType = maxapi.WalletType
|
2023-11-20 07:32:04 +00:00
|
|
|
type OrderByType = maxapi.OrderByType
|
2022-08-09 10:53:17 +00:00
|
|
|
type OrderType = maxapi.OrderType
|
|
|
|
|
2022-05-24 09:40:00 +00:00
|
|
|
type Order = maxapi.Order
|
2022-05-28 08:47:41 +00:00
|
|
|
type Account = maxapi.Account
|
2022-05-24 09:40:00 +00:00
|
|
|
|
2023-05-04 06:37:19 +00:00
|
|
|
type Client struct {
|
2022-08-10 07:22:04 +00:00
|
|
|
Client requestgen.AuthenticatedAPIClient
|
2022-05-24 09:40:00 +00:00
|
|
|
}
|