hyperliquid

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: 24 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 string) *FuturesClient

func (*FuturesClient) NewAmendOrder

func (c *FuturesClient) NewAmendOrder() *futures_amendOrder

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) NewGetOrderList

func (c *FuturesClient) NewGetOrderList() *futures_getOrderList

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) 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 string) *SpotClient

func (*SpotClient) NewAmendOrder

func (c *SpotClient) NewAmendOrder() *spot_amendOrder

func (*SpotClient) NewCancelOrder

func (c *SpotClient) NewCancelOrder() *spot_cancelOrder

func (*SpotClient) NewGetAccountInfo

func (c *SpotClient) NewGetAccountInfo() *getAccountInfo

func (*SpotClient) NewGetBalance

func (c *SpotClient) NewGetBalance() *spot_getBalance

func (*SpotClient) NewGetInstrumentsInfo

func (c *SpotClient) NewGetInstrumentsInfo() *spot_getInstrumentsInfo

func (*SpotClient) NewGetOrderList

func (c *SpotClient) NewGetOrderList() *spot_getOrderList

func (*SpotClient) NewOrdersHistory

func (c *SpotClient) NewOrdersHistory() *spot_ordersHistory

func (*SpotClient) NewPlaceOrder

func (c *SpotClient) NewPlaceOrder() *spot_placeOrder

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