huobi

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: 6 Imported by: 5

Documentation

Overview

Package huobi huobi rest api package

Index

Constants

View Source
const (
	API = "https://api.huobi.pro/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Huobi

type Huobi struct {
	AccessKey string
	SecretKey string
}

Huobi API data

func New

func New(accessKey string, secretKey string) *Huobi

New create new Huobi API data

func (*Huobi) GetTicker

func (hb *Huobi) GetTicker(base string, quote string) (*model.Ticker, error)

GetTicker 行情

Jump to

Keyboard shortcuts

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