Documentation ¶
Index ¶
- type Client
- func (c *Client) CancelOrder(req global.CancelReq) error
- func (c *Client) GetAllSymbol() ([]global.TradeSymbol, error)
- func (c *Client) GetFund(global.FundReq) ([]global.Fund, error)
- func (c *Client) InsertOrder(req global.InsertReq) (global.InsertRsp, error)
- func (c *Client) OrderStatus(req global.StatusReq) (global.StatusRsp, 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 取消订单 通过测试,第一个参数对结果没有影响,只要orderno正确就能取消订单, 但是如果第一个参数填入错误的代码将返回错误,但是订单依然被取消了
func (*Client) GetAllSymbol ¶
func (c *Client) GetAllSymbol() ([]global.TradeSymbol, error)
GetAllSymbol 交易市场详细行情接口
func (*Client) InsertOrder ¶
InsertOrder 下单交易
Click to show internal directories.
Click to hide internal directories.