bitstamp

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: 17 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 {
	baseclass.Client
}

Client 提供 API的调用客户端

func NewClient

func NewClient(config *config.Config) *Client

NewClient 创建一个新的client

func (*Client) CancelOrder

func (c *Client) CancelOrder(req global.CancelReq) error

CancelOrder 取消订单 通过测试,第一个参数对结果没有影响,只要orderno正确就能取消订单, 但是如果第一个参数填入错误的代码将返回错误,但是订单依然被取消了

func (*Client) GetAllSymbol

func (c *Client) GetAllSymbol() ([]global.TradeSymbol, error)

GetAllSymbol 交易市场详细行情接口

func (*Client) GetFund

func (c *Client) GetFund(global.FundReq) ([]global.Fund, error)

GetFund 获取帐号资金余额

func (*Client) InsertOrder

func (c *Client) InsertOrder(req global.InsertReq) (global.InsertRsp, error)

InsertOrder 下单交易

func (*Client) OrderStatus

func (c *Client) OrderStatus(req global.StatusReq) (global.StatusRsp, error)

OrderStatus 获取订单状态

Jump to

Keyboard shortcuts

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