okcoin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package okcoin okcoin rest api package

Index

Constants

View Source
const (
	API = "https://www.okcoin.com/api/v1/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OkCoin

type OkCoin struct {
	AccessKey string
	SecretKey string
}

OkCoin API data

func New

func New(accessKey string, secretKey string) *OkCoin

New create new OkCoin API data

func (*OkCoin) GetTicker

func (oc *OkCoin) 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