Documentation ¶
Index ¶
- type Client
- func (c *Client) CancelOrder(req global.CancelReq) error
- func (c *Client) GetAllSymbol() ([]global.TradeSymbol, error)
- func (c *Client) GetDepth(req global.TradeSymbol) (global.Depth, error)
- func (c *Client) GetFund(global.FundReq) ([]global.Fund, error)
- func (c *Client) GetKline(req global.KlineReq) ([]global.Kline, error)
- func (c *Client) InsertOrder(req global.InsertReq) (global.InsertRsp, error)
- func (c *Client) OrderStatus(req global.StatusReq) (global.StatusRsp, 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 ¶
Client 提供 API的调用客户端
func (*Client) CancelOrder ¶
CancelOrder 撤单
func (*Client) GetAllSymbol ¶
func (c *Client) GetAllSymbol() ([]global.TradeSymbol, error)
GetAllSymbol 交易市场详细行情接口
func (*Client) InsertOrder ¶
InsertOrder 下单接口
func (*Client) OrderStatus ¶
OrderStatus 获取订单状态
func (*Client) SubLateTrade ¶
SubLateTrade 订阅交易详细数据
Click to show internal directories.
Click to hide internal directories.