types

package
v0.0.0-...-ec27bc9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositState

type DepositState = string

DepositState represents the deposit state

type OrderSide

type OrderSide = string

OrderSide indicates the order is a sell order or buy order

type OrderState

type OrderState = string

DepositState represents the order state

type OrderType

type OrderType = string

OrderType represtns the order type, e.g., limit, market, etc.

type Price

type Price = float64

func ParsePrice

func ParsePrice(s string) (Price, error)

type SubscriptionRequest

type SubscriptionRequest struct {
	Cmd     string      `json:"cmd,omitempty"`
	Channel string      `json:"channel,omitempty"`
	Params  interface{} `json:"params,omitempty"`
}

type SubscriptionResponse

type SubscriptionResponse struct {
	Info    string      `json:"info,omitempty"`
	Channel string      `json:"channel,omitempty"`
	Params  interface{} `json:"params,omitempty"`
}

type Timestamp

type Timestamp = int32

type Volume

type Volume = float64

func ParseVolume

func ParseVolume(s string) (Volume, error)

type WithdrawalState

type WithdrawalState = string

WithdrawalState represents the withdrawal state

Jump to

Keyboard shortcuts

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