channels

package
v0.12.0-testnet1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRODUCTS  = "P3K"
	PRODUCTSC = "P3KC"

	PUBLICCHANNEL  = "P3P"
	PUBLICCHANNELC = "P3C"

	PRIVATECHANNEL  = "P3A"
	PRIVATECHANNELC = "P3AC"

	DEPTHCHANNEL  = "P3D"
	DEPTHCHANNELC = "P3DC"
)

example:

  1. P3K_spot_instruments = "P3K:spot:instruments"
  2. P3A:futures:position:BTC-USD-170928:6810000:0

Variables

This section is empty.

Functions

func GetCSpotAccountKey

func GetCSpotAccountKey(args ...string) string

func GetCSpotDealKey

func GetCSpotDealKey(args ...string) string

func GetCSpotDepthKey

func GetCSpotDepthKey(productID string) string

func GetCSpotMatchKey

func GetCSpotMatchKey(args ...string) string

func GetCSpotMetaKey

func GetCSpotMetaKey() string

func GetCSpotOrderKey

func GetCSpotOrderKey(args ...string) string

func GetSpotAccountKey

func GetSpotAccountKey(args ...string) string

func GetSpotDealKey

func GetSpotDealKey(args ...string) string

func GetSpotDepthKey

func GetSpotDepthKey(productID string) string

func GetSpotKey

func GetSpotKey(channel, op string, args []string) string

func GetSpotMatchKey

func GetSpotMatchKey(args ...string) string

func GetSpotMetaKey

func GetSpotMetaKey() string

func GetSpotOrderKey

func GetSpotOrderKey(args ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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