Documentation
¶
Index ¶
- func Sym2duo(pair string) q.D
- type CoinEx
- func (coinex *CoinEx) AllTicker(SymPair map[string]q.D) (mdt *sync.Map, err error)
- func (coinex *CoinEx) Balances() (availables, frozens *sync.Map, err error)
- func (coinex *CoinEx) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (coinex *CoinEx) Fee() float64
- func (coinex *CoinEx) GetAccount() (*Account, error)
- func (coinex *CoinEx) GetAttr() (a q.Attr)
- func (coinex *CoinEx) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (coinex *CoinEx) GetDifficulty() (limit, cur float64, err error)
- func (coinex *CoinEx) GetKlineRecords(currency CurrencyPair, period KlinePeriod, size int, opt ...OptionalParameter) ([]Kline, error)
- func (coinex *CoinEx) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (coinex *CoinEx) GetOrderHistorys(currency CurrencyPair, optional ...OptionalParameter) ([]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) GetUnfinishedOrders(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) OneTicker(d q.D) (ticker q.Bbo, err error)
- func (coinex *CoinEx) PairArray() (map[string]q.D, map[q.D]q.P, error)
- func (coinex *CoinEx) PlaceOrders(places [3]q.Order) (orders [3]q.Order, err error)
- func (coinex *CoinEx) String() string
- func (coinex *CoinEx) Test() bool
- func (coinex *CoinEx) TradeFee() (map[string]q.TradeFee, error)
- func (coinex *CoinEx) WithdrawFee() (sf []q.NetworkWithdraw, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoinEx ¶
type CoinEx struct {
// contains filtered or unexported fields
}
func (*CoinEx) CancelOrder ¶
func (*CoinEx) GetAccount ¶
func (*CoinEx) GetDifficulty ¶
func (*CoinEx) GetKlineRecords ¶
func (*CoinEx) GetOneOrder ¶
func (*CoinEx) GetOrderHistorys ¶
func (*CoinEx) GetPendingOrders ¶
func (*CoinEx) GetUnfinishedOrders ¶
func (*CoinEx) MarketSell ¶
func (*CoinEx) PlaceOrders ¶
func (*CoinEx) WithdrawFee ¶
func (coinex *CoinEx) WithdrawFee() (sf []q.NetworkWithdraw, err error)
Click to show internal directories.
Click to hide internal directories.