Documentation ¶
Index ¶
- Constants
- func Decode(m message.Message) (event.Event, error)
- type Client
- func (c *Client) Balances() *private.BalancesRequest
- func (c *Client) Buy(currencyPair string, rate float64, amount float64) *private.OrderRequest
- func (c *Client) CancelAllOrders(currencyPair string) *private.CancelAllOrdersRequest
- func (c *Client) CancelOrder() *private.CancelOrderRequest
- func (c *Client) ChartData(currencyPair string, period period.Period) *public.ChartDataRequest
- func (c *Client) Close()
- func (c *Client) CompleteBalances() *private.CompleteBalancesRequest
- func (c *Client) Currencies() *public.CurrenciesRequest
- func (c *Client) MoveOrder(orderNumber int64, rate float64) *private.MoveOrderRequest
- func (c *Client) OpenOrders(currencyPair string) *private.OpenOrdersRequest
- func (c *Client) OrderBook(currencyPair string) *public.OrderbookRequest
- func (c *Client) OrderStatus(orderNumber int64) *private.OrderStatusRequest
- func (c *Client) Sell(currencyPair string, rate float64, amount float64) *private.OrderRequest
- func (c *Client) Subscribe() *ws.SubscriptionRequest
- func (c *Client) Tickers() *public.TickerRequest
- func (c *Client) TradableAccountBalances() *private.TradableBalancesRequest
- func (c *Client) TradeHistory(currencyPair string) *public.TradeHistoryRequest
- func (c *Client) Volume24h() *public.Volume24hRequest
- type OrderSide
Constants ¶
View Source
const ( Buy = private.Buy Sell = private.Sell )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Balances ¶
func (c *Client) Balances() *private.BalancesRequest
func (*Client) CancelAllOrders ¶
func (c *Client) CancelAllOrders(currencyPair string) *private.CancelAllOrdersRequest
func (*Client) CancelOrder ¶
func (c *Client) CancelOrder() *private.CancelOrderRequest
func (*Client) CompleteBalances ¶
func (c *Client) CompleteBalances() *private.CompleteBalancesRequest
func (*Client) Currencies ¶
func (c *Client) Currencies() *public.CurrenciesRequest
func (*Client) MoveOrder ¶
func (c *Client) MoveOrder(orderNumber int64, rate float64) *private.MoveOrderRequest
func (*Client) OpenOrders ¶
func (c *Client) OpenOrders(currencyPair string) *private.OpenOrdersRequest
func (*Client) OrderStatus ¶
func (c *Client) OrderStatus(orderNumber int64) *private.OrderStatusRequest
func (*Client) Subscribe ¶
func (c *Client) Subscribe() *ws.SubscriptionRequest
func (*Client) Tickers ¶
func (c *Client) Tickers() *public.TickerRequest
func (*Client) TradableAccountBalances ¶
func (c *Client) TradableAccountBalances() *private.TradableBalancesRequest
func (*Client) TradeHistory ¶
func (c *Client) TradeHistory(currencyPair string) *public.TradeHistoryRequest
func (*Client) Volume24h ¶
func (c *Client) Volume24h() *public.Volume24hRequest
Click to show internal directories.
Click to hide internal directories.