yunbi

package
v0.0.0-...-a58d1de Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package yunbi yunbi rest api package

Index

Constants

View Source
const (
	API = "https://yunbi.com/api/v2/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Yunbi

type Yunbi struct {
	AccessKey string
	SecretKey string
}

Yunbi API data

func New

func New(accessKey string, secretKey string) *Yunbi

New create new Yunbi API data

func (*Yunbi) GetTicker

func (yb *Yunbi) GetTicker(base string, quote string) (*model.Ticker, error)

GetTicker 行情

func (*Yunbi) GetTickerList

func (yb *Yunbi) GetTickerList() ([]string, error)

GetTickerList 获取当前支持币种列表

Jump to

Keyboard shortcuts

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