blofin

package
v0.0.0-...-314eefb Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuturesClient

type FuturesClient struct {
	BaseURL   string
	UserAgent string
	Proxy     string
	BrokerID  string
	Debug     bool

	TimeOffset int64
	// contains filtered or unexported fields
}

func NewFuturesClient

func NewFuturesClient(apiKey, secretKey, memo string) *FuturesClient

func (*FuturesClient) NewCancelOrder

func (c *FuturesClient) NewCancelOrder() *futures_cancelOrder

func (*FuturesClient) NewGetAccountInfo

func (c *FuturesClient) NewGetAccountInfo() *getAccountInfo

func (*FuturesClient) NewGetBalance

func (c *FuturesClient) NewGetBalance() *futures_getBalance

func (*FuturesClient) NewGetInstrumentsInfo

func (c *FuturesClient) NewGetInstrumentsInfo() *futures_getInstrumentsInfo

func (*FuturesClient) NewGetLeverage

func (c *FuturesClient) NewGetLeverage() *futures_getLeverage

func (*FuturesClient) NewGetMarginMode

func (c *FuturesClient) NewGetMarginMode() *futures_getMarginMode

func (*FuturesClient) NewGetOrderList

func (c *FuturesClient) NewGetOrderList() *futures_getOrderList

func (*FuturesClient) NewGetPositionMode

func (c *FuturesClient) NewGetPositionMode() *futures_getPositionMode

func (*FuturesClient) NewGetPositions

func (c *FuturesClient) NewGetPositions() *futures_getPositions

func (*FuturesClient) NewOrdersHistory

func (c *FuturesClient) NewOrdersHistory() *futures_ordersHistory

func (*FuturesClient) NewPlaceOrder

func (c *FuturesClient) NewPlaceOrder() *futures_placeOrder

func (*FuturesClient) NewPositionsHistory

func (c *FuturesClient) NewPositionsHistory() *futures_positionsHistory

func (*FuturesClient) NewSetLeverage

func (c *FuturesClient) NewSetLeverage() *futures_setLeverage

func (*FuturesClient) NewSetMarginMode

func (c *FuturesClient) NewSetMarginMode() *futures_setMarginMode

func (*FuturesClient) NewSetPositionMode

func (c *FuturesClient) NewSetPositionMode() *futures_setPositionMode

func (*FuturesClient) NewSignAuthStream

func (c *FuturesClient) NewSignAuthStream() *signAuthStream

func (*FuturesClient) SetBrokerID

func (c *FuturesClient) SetBrokerID(id string)

func (*FuturesClient) SetDebug

func (c *FuturesClient) SetDebug(v bool)

func (*FuturesClient) SetProxy

func (c *FuturesClient) SetProxy(proxy string)

func (*FuturesClient) SetTimeOffset

func (c *FuturesClient) SetTimeOffset(ms int64)

func (*FuturesClient) SetUserAgent

func (c *FuturesClient) SetUserAgent(ua string)

type SpotClient

type SpotClient struct {
	BaseURL   string
	UserAgent string
	Proxy     string
	BrokerID  string
	Debug     bool

	TimeOffset int64
	// contains filtered or unexported fields
}

func NewSpotClient

func NewSpotClient(apiKey, secretKey, memo string) *SpotClient

func (*SpotClient) SetBrokerID

func (c *SpotClient) SetBrokerID(id string)

func (*SpotClient) SetDebug

func (c *SpotClient) SetDebug(v bool)

func (*SpotClient) SetProxy

func (c *SpotClient) SetProxy(proxy string)

func (*SpotClient) SetTimeOffset

func (c *SpotClient) SetTimeOffset(ms int64)

func (*SpotClient) SetUserAgent

func (c *SpotClient) SetUserAgent(ua string)

Jump to

Keyboard shortcuts

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