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