notify

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsCrossClient

type AccountsCrossClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*AccountsCrossClient) Init

func (p *AccountsCrossClient) Init(accessKey string, secretKey string, host string) *AccountsCrossClient

Initializer

func (*AccountsCrossClient) SetHandler

func (p *AccountsCrossClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*AccountsCrossClient) Subscribe

func (p *AccountsCrossClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*AccountsCrossClient) UnSubscribe

func (p *AccountsCrossClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type ContractInfoClient

type ContractInfoClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*ContractInfoClient) Init

func (p *ContractInfoClient) Init(accessKey string, secretKey string, host string) *ContractInfoClient

Initializer

func (*ContractInfoClient) SetHandler

func (p *ContractInfoClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*ContractInfoClient) Subscribe

func (p *ContractInfoClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*ContractInfoClient) UnSubscribe

func (p *ContractInfoClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type FundingRateClient

type FundingRateClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*FundingRateClient) Init

func (p *FundingRateClient) Init(accessKey string, secretKey string, host string) *FundingRateClient

Initializer

func (*FundingRateClient) SetHandler

func (p *FundingRateClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*FundingRateClient) Subscribe

func (p *FundingRateClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*FundingRateClient) UnSubscribe

func (p *FundingRateClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type IsolatedAcountsClient

type IsolatedAcountsClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*IsolatedAcountsClient) Init

func (p *IsolatedAcountsClient) Init(accessKey string, secretKey string, host string) *IsolatedAcountsClient

Initializer

func (*IsolatedAcountsClient) SetHandler

func (p *IsolatedAcountsClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*IsolatedAcountsClient) Subscribe

func (p *IsolatedAcountsClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*IsolatedAcountsClient) UnSubscribe

func (p *IsolatedAcountsClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type IsolatedMatchOrdersClient

type IsolatedMatchOrdersClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*IsolatedMatchOrdersClient) Init

func (p *IsolatedMatchOrdersClient) Init(accessKey string, secretKey string, host string) *IsolatedMatchOrdersClient

Initializer

func (*IsolatedMatchOrdersClient) SetHandler

func (p *IsolatedMatchOrdersClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*IsolatedMatchOrdersClient) Subscribe

func (p *IsolatedMatchOrdersClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*IsolatedMatchOrdersClient) UnSubscribe

func (p *IsolatedMatchOrdersClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type IsolatedOrdersClient

type IsolatedOrdersClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*IsolatedOrdersClient) Init

func (p *IsolatedOrdersClient) Init(accessKey string, secretKey string, host string) *IsolatedOrdersClient

Initializer

func (*IsolatedOrdersClient) SetHandler

func (p *IsolatedOrdersClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*IsolatedOrdersClient) Subscribe

func (p *IsolatedOrdersClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*IsolatedOrdersClient) UnSubscribe

func (p *IsolatedOrdersClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type IsolatedPositionsClient

type IsolatedPositionsClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*IsolatedPositionsClient) Init

func (p *IsolatedPositionsClient) Init(accessKey string, secretKey string, host string) *IsolatedPositionsClient

Initializer

func (*IsolatedPositionsClient) SetHandler

func (p *IsolatedPositionsClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*IsolatedPositionsClient) Subscribe

func (p *IsolatedPositionsClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*IsolatedPositionsClient) UnSubscribe

func (p *IsolatedPositionsClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type IsolatedTriggerOrderClient

type IsolatedTriggerOrderClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*IsolatedTriggerOrderClient) Init

func (p *IsolatedTriggerOrderClient) Init(accessKey string, secretKey string, host string) *IsolatedTriggerOrderClient

Initializer

func (*IsolatedTriggerOrderClient) SetHandler

func (p *IsolatedTriggerOrderClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*IsolatedTriggerOrderClient) Subscribe

func (p *IsolatedTriggerOrderClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*IsolatedTriggerOrderClient) UnSubscribe

func (p *IsolatedTriggerOrderClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type LiquidationOrdersClient

type LiquidationOrdersClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*LiquidationOrdersClient) Init

func (p *LiquidationOrdersClient) Init(accessKey string, secretKey string, host string) *LiquidationOrdersClient

Initializer

func (*LiquidationOrdersClient) SetHandler

func (p *LiquidationOrdersClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*LiquidationOrdersClient) Subscribe

func (p *LiquidationOrdersClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*LiquidationOrdersClient) UnSubscribe

func (p *LiquidationOrdersClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type MatchOrdersCrossClient

type MatchOrdersCrossClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*MatchOrdersCrossClient) Init

func (p *MatchOrdersCrossClient) Init(accessKey string, secretKey string, host string) *MatchOrdersCrossClient

Initializer

func (*MatchOrdersCrossClient) SetHandler

func (p *MatchOrdersCrossClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*MatchOrdersCrossClient) Subscribe

func (p *MatchOrdersCrossClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*MatchOrdersCrossClient) UnSubscribe

func (p *MatchOrdersCrossClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type OrdersCrossClient

type OrdersCrossClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*OrdersCrossClient) Init

func (p *OrdersCrossClient) Init(accessKey string, secretKey string, host string) *OrdersCrossClient

Initializer

func (*OrdersCrossClient) SetHandler

func (p *OrdersCrossClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*OrdersCrossClient) Subscribe

func (p *OrdersCrossClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*OrdersCrossClient) UnSubscribe

func (p *OrdersCrossClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type PositionsCrossClient

type PositionsCrossClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*PositionsCrossClient) Init

func (p *PositionsCrossClient) Init(accessKey string, secretKey string, host string) *PositionsCrossClient

Initializer

func (*PositionsCrossClient) SetHandler

func (p *PositionsCrossClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*PositionsCrossClient) Subscribe

func (p *PositionsCrossClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*PositionsCrossClient) UnSubscribe

func (p *PositionsCrossClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

type TriggerOrderCrossClient

type TriggerOrderCrossClient struct {
	ws.WebSocketV2ClientBase
}

Responsible to handle Trade data from WebSocket

func (*TriggerOrderCrossClient) Init

func (p *TriggerOrderCrossClient) Init(accessKey string, secretKey string, host string) *TriggerOrderCrossClient

Initializer

func (*TriggerOrderCrossClient) SetHandler

func (p *TriggerOrderCrossClient) SetHandler(
	authenticationResponseHandler ws.AuthenticationV2ResponseHandler,
	responseHandler ws.ResponseHandler)

Set callback handler

func (*TriggerOrderCrossClient) Subscribe

func (p *TriggerOrderCrossClient) Subscribe(symbol string, clientId string)

Subscribe latest completed trade in tick by tick mode

func (*TriggerOrderCrossClient) UnSubscribe

func (p *TriggerOrderCrossClient) UnSubscribe(symbol string, clientId string)

Unsubscribe trade

Jump to

Keyboard shortcuts

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