Documentation ¶
Index ¶
- type SpotAccountClient
- func (s *SpotAccountClient) CancelOrder(ctx context.Context, param types.CancelOrderParam) (*types.OrderInfoResp, error)
- func (s *SpotAccountClient) CancelOrdersOnOneSymbol(ctx context.Context, param types.CancelOrdersOnOneSymbolParam) (*types.CancelOrdersResp, error)
- func (s *SpotAccountClient) GetAccountInfo(ctx context.Context) (*types.GetAccountInfoResp, error)
- func (s *SpotAccountClient) GetAllOrders(ctx context.Context, param types.GetAllOrdersParam) (*types.GetAllOrdersResp, error)
- func (s *SpotAccountClient) GetOpenOrders(ctx context.Context, param types.GetOpenOrdersParam) (*types.GetOpenOrdersResp, error)
- func (s *SpotAccountClient) GetTradeList(ctx context.Context, param types.GetTradesParam) (*types.GetTradesResp, error)
- func (s *SpotAccountClient) NewOrder(ctx context.Context, param types.NewOrderParam) (*types.NewOrderResp, error)
- func (s *SpotAccountClient) QueryOrder(ctx context.Context, param types.QueryOrderParam) (*types.QueryOrderResp, error)
- func (s *SpotAccountClient) TestNewOrder(ctx context.Context, param types.NewOrderParam) error
- type SpotAccountClientCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpotAccountClient ¶
type SpotAccountClient struct { *spotutils.SpotClient // contains filtered or unexported fields }
func NewSpotAccountClient ¶
func NewSpotAccountClient(cfg *SpotAccountClientCfg) (*SpotAccountClient, error)
func (*SpotAccountClient) CancelOrder ¶
func (s *SpotAccountClient) CancelOrder(ctx context.Context, param types.CancelOrderParam) (*types.OrderInfoResp, error)
func (*SpotAccountClient) CancelOrdersOnOneSymbol ¶
func (s *SpotAccountClient) CancelOrdersOnOneSymbol(ctx context.Context, param types.CancelOrdersOnOneSymbolParam) (*types.CancelOrdersResp, error)
func (*SpotAccountClient) GetAccountInfo ¶
func (s *SpotAccountClient) GetAccountInfo(ctx context.Context) (*types.GetAccountInfoResp, error)
func (*SpotAccountClient) GetAllOrders ¶
func (s *SpotAccountClient) GetAllOrders(ctx context.Context, param types.GetAllOrdersParam) (*types.GetAllOrdersResp, error)
func (*SpotAccountClient) GetOpenOrders ¶
func (s *SpotAccountClient) GetOpenOrders(ctx context.Context, param types.GetOpenOrdersParam) (*types.GetOpenOrdersResp, error)
func (*SpotAccountClient) GetTradeList ¶
func (s *SpotAccountClient) GetTradeList(ctx context.Context, param types.GetTradesParam) (*types.GetTradesResp, error)
func (*SpotAccountClient) NewOrder ¶
func (s *SpotAccountClient) NewOrder(ctx context.Context, param types.NewOrderParam) (*types.NewOrderResp, error)
func (*SpotAccountClient) QueryOrder ¶
func (s *SpotAccountClient) QueryOrder(ctx context.Context, param types.QueryOrderParam) (*types.QueryOrderResp, error)
func (*SpotAccountClient) TestNewOrder ¶
func (s *SpotAccountClient) TestNewOrder(ctx context.Context, param types.NewOrderParam) error
Click to show internal directories.
Click to hide internal directories.