aicoin

package
v0.0.0-...-f37401a Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Config config.Config
}

Client 提供 API的调用客户端

func (*Client) AicoinGetDepth

func (c *Client) AicoinGetDepth(ex string, req global.TradeSymbol) (global.Depth, error)

AicoinGetDepth 获取深度行情

func (*Client) AicoinGetKline

func (c *Client) AicoinGetKline(ex string, req global.KlineReq) ([]global.Kline, error)

AicoinGetKline 获取k线数据

func (*Client) AicoinGetLateTrade

func (c *Client) AicoinGetLateTrade(ex string, req global.TradeSymbol) ([]global.LateTrade, error)

AicoinGetLateTrade 获取最近成交信息

func (*Client) AicoinGetTicker

func (c *Client) AicoinGetTicker(ex string, req global.TradeSymbol) (global.Ticker, error)

AicoinGetTicker 获取ticker数据

func (*Client) Constructor

func (c *Client) Constructor(config *config.Config)

Constructor 创建一个新的client

Jump to

Keyboard shortcuts

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