Documentation
¶
Index ¶
- type Client
- func (self *Client) BuyLimitOrder(pair string, amount, price float64) (*Order, error)
- func (self *Client) CancelOrder(id string) error
- func (self *Client) GetOpenOrders(pair string) ([]Order, error)
- func (self *Client) GetPair(market string) (*Pair, error)
- func (client *Client) SellLimitOrder(pair string, amount, price float64) (*Order, error)
- func (self *Client) Ticker(pair string) (*Ticker, error)
- func (self *Client) TradingPairsInfo() ([]Pair, error)
- type Order
- type Pair
- type Ticker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuyLimitOrder ¶
func (*Client) CancelOrder ¶
func (*Client) SellLimitOrder ¶
func (*Client) TradingPairsInfo ¶
type Order ¶
type Pair ¶
type Pair struct { BaseDecimals int `json:"base_decimals"` // size precision MinimumOrder string `json:"minimum_order"` // minimum order size CounterDecimals int `json:"counter_decimals"` // price precision Trading string `json:"trading"` // enabled/disabled UrlSymbol string `json:"url_symbol"` // name Description string `json:"description"` }
Click to show internal directories.
Click to hide internal directories.