Documentation
¶
Index ¶
- type Coin58
- func (coin58 *Coin58) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (coin58 *Coin58) GetAccount() (*Account, error)
- func (coin58 *Coin58) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (coin58 *Coin58) GetExchangeName() string
- func (coin58 *Coin58) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
- func (coin58 *Coin58) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (coin58 *Coin58) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
- func (coin58 *Coin58) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (coin58 *Coin58) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (coin58 *Coin58) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
- func (coin58 *Coin58) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (coin58 *Coin58) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
- func (coin58 *Coin58) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (coin58 *Coin58) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coin58 ¶
type Coin58 struct {
// contains filtered or unexported fields
}
func (*Coin58) CancelOrder ¶
func (*Coin58) GetAccount ¶
func (*Coin58) GetExchangeName ¶
func (*Coin58) GetKlineRecords ¶
func (*Coin58) GetOneOrder ¶
func (*Coin58) GetOrderHistorys ¶
func (*Coin58) GetUnfinishOrders ¶
func (*Coin58) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.