bitget

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 8 Imported by: 0

README

bitget-api-sdk-go

Custom code from a fork of Bitget Open API V3 SDK https://github.com/BitgetLimited/v3-bitget-api-sdk

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

client

func NewClient

func NewClient() *Client

func (*Client) GetBrokerService

func (c *Client) GetBrokerService() *broker.BrokerAccountClient

broker

func (*Client) GetMixAccountService

func (c *Client) GetMixAccountService() *mix.MixAccountClient

mix

func (*Client) GetMixMarketService

func (c *Client) GetMixMarketService() *mix.MixMarketClient

func (*Client) GetMixOrderService

func (c *Client) GetMixOrderService() *mix.MixOrderClient

func (*Client) GetMixPlanService

func (c *Client) GetMixPlanService() *mix.MixPlanClient

func (*Client) GetMixPositionService

func (c *Client) GetMixPositionService() *mix.MixPositionClient

func (*Client) GetMixTraceService

func (c *Client) GetMixTraceService() *mix.MixTraceClient

func (*Client) GetSpotAccountService

func (c *Client) GetSpotAccountService() *spot.SpotAccountClient

spot

func (*Client) GetSpotMarketService

func (c *Client) GetSpotMarketService() *spot.SpotMarketClient

func (*Client) GetSpotOrderService

func (c *Client) GetSpotOrderService() *spot.SpotOrderClient

func (*Client) GetSpotPublicService

func (c *Client) GetSpotPublicService() *spot.SpotPublicClient

func (*Client) SetHttpClient

func (c *Client) SetHttpClient(client *http.Client) *Client

type UnscribeFunc

type UnscribeFunc func()

type WsClient

type WsClient struct {
	// contains filtered or unexported fields
}

ws

func NewWsClient

func NewWsClient() *WsClient

func (*WsClient) Close

func (ws *WsClient) Close()

func (*WsClient) Init

func (ws *WsClient) Init(listener common.OnReceive, errorListener common.OnReceive, secure bool) *ws.BitgetWsClient

func (*WsClient) SubscribeForContracts

func (ws *WsClient) SubscribeForContracts(channel string, contracts ...string) UnscribeFunc

func (*WsClient) SubscribeFutures

func (ws *WsClient) SubscribeFutures(channel string, symbols ...string) UnscribeFunc

futures

func (*WsClient) SubscribeSpot

func (ws *WsClient) SubscribeSpot(channel string, symbols ...string) UnscribeFunc

spot

func (*WsClient) SubscribeSpotAccount

func (ws *WsClient) SubscribeSpotAccount() UnscribeFunc

func (*WsClient) SubscribeSpotOrder

func (ws *WsClient) SubscribeSpotOrder(symbols ...string) UnscribeFunc

Jump to

Keyboard shortcuts

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