package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Jul 29, 2019
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type CoinEx
-
func (coinex *CoinEx) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
-
func (coinex *CoinEx) GetAccount() (*Account, error)
-
func (coinex *CoinEx) GetDepth(size int, currency CurrencyPair) (*Depth, error)
-
func (coinex *CoinEx) GetDifficulty() (limit, cur float64, err error)
-
func (coinex *CoinEx) GetExchangeName() string
-
func (coinex *CoinEx) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
-
func (coinex *CoinEx) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
-
func (coinex *CoinEx) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
-
func (coinex *CoinEx) GetPendingOrders(page, limit int, pair CurrencyPair) ([]Order, error)
-
func (coinex *CoinEx) GetTicker(currency CurrencyPair) (*Ticker, error)
-
func (coinex *CoinEx) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
-
func (coinex *CoinEx) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
-
func (coinex *CoinEx) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
-
func (coinex *CoinEx) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
-
func (coinex *CoinEx) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
-
func (coinex *CoinEx) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)
func (coinex *CoinEx) GetDepth(size int, currency CurrencyPair) (*Depth, error)
func (coinex *CoinEx) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
func (coinex *CoinEx) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
func (coinex *CoinEx) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
func (coinex *CoinEx) GetPendingOrders(page, limit int, pair CurrencyPair) ([]Order, error)
func (coinex *CoinEx) GetTicker(currency CurrencyPair) (*Ticker, error)
func (coinex *CoinEx) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
非个人,整个交易所的交易记录
func (coinex *CoinEx) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
func (coinex *CoinEx) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
func (coinex *CoinEx) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
func (coinex *CoinEx) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
func (coinex *CoinEx) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.