Documentation ¶
Index ¶
- type Client
- func (c *Client) Constructor(config *config.Config)
- func (c *Client) GetDepth(req global.TradeSymbol) (global.Depth, error)
- func (c *Client) GetKline(req global.KlineReq) ([]global.Kline, error)
- func (c *Client) SubDepth(sreq global.TradeSymbol) (chan global.Depth, error)
- func (c *Client) SubLateTrade(sreq global.TradeSymbol) (chan global.LateTrade, error)
- func (c *Client) SubTicker(sreq global.TradeSymbol) (chan global.Ticker, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { aicoin.Client Exchange string // 子类设置 // contains filtered or unexported fields }
Client 提供 API的调用客户端
func (*Client) Constructor ¶
Constructor 创建一个新的client
func (*Client) SubLateTrade ¶
SubLateTrade 订阅交易详细数据
Click to show internal directories.
Click to hide internal directories.