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