Versions in this module Expand all Collapse all v1 v1.1.3 Jan 15, 2020 v1.0.4 Aug 27, 2019 Changes in this version + const API_BASE_URL + type CoinBig struct + func New(client *http.Client, api_key, secret_key string) *CoinBig + func (cb *CoinBig) CancelOrder(orderId string, currencyPair CurrencyPair) (bool, error) + func (cb *CoinBig) CancelOrders(orderId []string) (bool, error) + func (cb *CoinBig) GetAccount() (*Account, error) + func (cb *CoinBig) GetDepth(size int, currencyPair CurrencyPair) (*Depth, error) + func (cb *CoinBig) GetExchangeName() string + func (cb *CoinBig) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error) + func (cb *CoinBig) GetOneOrder(orderId string, currencyPair CurrencyPair) (*Order, error) + func (cb *CoinBig) GetOrderHistorys(currencyPair CurrencyPair, currentPage, pageSize int) ([]Order, error) + func (cb *CoinBig) GetServerSync() error + func (cb *CoinBig) GetTicker(currencyPair CurrencyPair) (*Ticker, error) + func (cb *CoinBig) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error) + func (cb *CoinBig) GetUnfinishOrders(currencyPair CurrencyPair) ([]Order, error) + func (cb *CoinBig) LimitBuy(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (cb *CoinBig) LimitSell(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (cb *CoinBig) MarketBuy(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (cb *CoinBig) MarketSell(amount, price string, currencyPair CurrencyPair) (*Order, error)