account

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoinMFuturesAccountClient

type CoinMFuturesAccountClient struct {
	*cmutils.CoinMarginedClient
	// contains filtered or unexported fields
}

func (*CoinMFuturesAccountClient) CancelAllOpenOrders

func (c *CoinMFuturesAccountClient) CancelAllOpenOrders(ctx context.Context, param types.CancelAllOpenOrdersParam) error

func (*CoinMFuturesAccountClient) CancelOrder

func (*CoinMFuturesAccountClient) ChangeInitialLeverage

func (*CoinMFuturesAccountClient) ChangeMarginType

func (*CoinMFuturesAccountClient) ChangePositionMode

func (*CoinMFuturesAccountClient) GetAccountInformation

func (c *CoinMFuturesAccountClient) GetAccountInformation(ctx context.Context) (*types.GetAccountInfoResp, error)

func (*CoinMFuturesAccountClient) GetAccountTradeList

func (*CoinMFuturesAccountClient) GetAllOrders

func (*CoinMFuturesAccountClient) GetBalance

func (*CoinMFuturesAccountClient) GetPositionInformation

func (c *CoinMFuturesAccountClient) GetPositionInformation(ctx context.Context, param types.GetPositionParam) (*types.GetPositionResp, error)

func (*CoinMFuturesAccountClient) GetPositionMode

func (*CoinMFuturesAccountClient) ModifyIsolatedPositionMargin

func (*CoinMFuturesAccountClient) NewOrder

func (*CoinMFuturesAccountClient) QueryAllOpenOrders

func (*CoinMFuturesAccountClient) QueryOpenOrder

func (*CoinMFuturesAccountClient) QueryOrder

type CoinMFuturesAccountClientCfg

type CoinMFuturesAccountClientCfg struct {
	Debug bool
	// Logger
	Logger *slog.Logger

	BaseURL    string `validate:"required"`
	Key        string `validate:"required"`
	Secret     string `validate:"required"`
	RecvWindow int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL