account

package
v0.0.0-...-9ed198c Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionsAccountClient

type OptionsAccountClient struct {
	*eoutils.OptionsClient
	// contains filtered or unexported fields
}

func NewOptionsAccountClient

func NewOptionsAccountClient(cfg *eoutils.OptionsClientCfg) (*OptionsAccountClient, error)

func (*OptionsAccountClient) CancelAllOrdersBySymbol

func (o *OptionsAccountClient) CancelAllOrdersBySymbol(ctx context.Context, param types.CancelAllOrdersParam) error

func (*OptionsAccountClient) CancelAllOrdersByUnderlying

func (o *OptionsAccountClient) CancelAllOrdersByUnderlying(ctx context.Context, param types.CancelAllOrdersByUnderlyingParam) error

func (*OptionsAccountClient) CancelOrder

func (*OptionsAccountClient) GetAccountInfo

func (*OptionsAccountClient) GetExerciseRecord

func (*OptionsAccountClient) GetFundingFlow

func (*OptionsAccountClient) GetOpenOrders

func (*OptionsAccountClient) GetOrderHistory

func (*OptionsAccountClient) GetPositionInfo

func (*OptionsAccountClient) GetSingleOrder

func (*OptionsAccountClient) GetTradeList

func (*OptionsAccountClient) NewOrder

type OptionsAccountClientCfg

type OptionsAccountClientCfg 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