bitmex

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBitmexClient

func NewBitmexClient() common.Exchange

Types

type InstrumentInfo

type InstrumentInfo struct {
	Symbol    string    `json:"symbol"`
	Timestamp time.Time `json:"timestamp"`
	TickSize  float64   `json:"tickSize"`
}

type Instruments

type Instruments []InstrumentInfo

type SubscribeResp

type SubscribeResp struct {
	Success   bool   `json:"success"`
	Subscribe string `json:"subscribe"`
	Request   struct {
		Op   string   `json:"op"`
		Args []string `json:"args"`
	} `json:"request"`
}

Jump to

Keyboard shortcuts

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