exchanges

package
v0.0.0-...-cc6d834 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectBitmex

func ConnectBitmex(c chan proto.MsgSrv)

ConnectBitmex gets websocket connection to Bitmex and receives update messages.

Types

type MsgBitmex

type MsgBitmex struct {
	Table  string
	Action string
	Data   []MsgBitmexData
}

type MsgBitmexData

type MsgBitmexData struct {
	Timestamp string  `json:"timestamp"`
	Symbol    string  `json:"symbol"`
	Price     float64 `json:"lastPrice"`
}

Jump to

Keyboard shortcuts

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