common

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSON

func NewJSON(data []byte) (j *simplejson.Json, err error)

Types

type BaseURL

type BaseURL string

BaseURL url

type PriceLevel

type PriceLevel struct {
	Price    string
	Quantity string
	Pending  string
}

PriceLevel 价格信息

func (*PriceLevel) Parse added in v1.1.1

func (p *PriceLevel) Parse() (float64, float64, float64, error)

Parse 转换

type RequestMethod

type RequestMethod string

RequestMethod 请求方式

type SideType

type SideType string

SideType 交易方向

Jump to

Keyboard shortcuts

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