Documentation
¶
Index ¶
- Constants
- type CoinBig
- func (cb *CoinBig) CancelOrder(orderId string, currencyPair common.TradingPair) (bool, error)
- func (cb *CoinBig) CancelOrders(orderId []string) (bool, error)
- func (cb *CoinBig) GetAccount() (*common.Account, error)
- func (cb *CoinBig) GetDepth(size int, currencyPair common.TradingPair) (*common.Depth, error)
- func (cb *CoinBig) GetExchangeName() string
- func (cb *CoinBig) GetKlineRecords(currency common.TradingPair, period, size, since int) ([]common.Kline, error)
- func (cb *CoinBig) GetOneOrder(orderId string, currencyPair common.TradingPair) (*common.Order, error)
- func (cb *CoinBig) GetOrderHistorys(currencyPair common.TradingPair, currentPage, pageSize int) ([]common.Order, error)
- func (cb *CoinBig) GetServerSync() error
- func (cb *CoinBig) GetTicker(currencyPair common.TradingPair) (*common.Ticker, error)
- func (cb *CoinBig) GetTrades(currencyPair common.TradingPair, since int64) ([]common.Trade, error)
- func (cb *CoinBig) GetUnfinishOrders(currencyPair common.TradingPair) ([]common.Order, error)
- func (cb *CoinBig) LimitBuy(amount, price string, currencyPair common.TradingPair, ...) (*common.Order, error)
- func (cb *CoinBig) LimitSell(amount, price string, currencyPair common.TradingPair, ...) (*common.Order, error)
- func (cb *CoinBig) MarketBuy(amount, price string, currencyPair common.TradingPair) (*common.Order, error)
- func (cb *CoinBig) MarketSell(amount, price string, currencyPair common.TradingPair) (*common.Order, error)
Constants ¶
View Source
const (
API_BASE_URL = "https://www.coinbig.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinBig ¶
type CoinBig struct {
// contains filtered or unexported fields
}
func (*CoinBig) CancelOrder ¶
func (*CoinBig) GetExchangeName ¶
func (*CoinBig) GetKlineRecords ¶
func (*CoinBig) GetOneOrder ¶
func (*CoinBig) GetOrderHistorys ¶
func (*CoinBig) GetServerSync ¶
func (*CoinBig) GetUnfinishOrders ¶
func (*CoinBig) LimitBuy ¶
func (cb *CoinBig) LimitBuy(amount, price string, currencyPair common.TradingPair, opt ...common.LimitOrderOptionalParameter) (*common.Order, error)
func (*CoinBig) LimitSell ¶
func (cb *CoinBig) LimitSell(amount, price string, currencyPair common.TradingPair, opt ...common.LimitOrderOptionalParameter) (*common.Order, error)
func (*CoinBig) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.