Documentation ¶
Index ¶
- Variables
- type BaseResponse
- type Kraken
- func (k *Kraken) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (k *Kraken) GetAccount() (*Account, error)
- func (k *Kraken) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (k *Kraken) GetExchangeName() string
- func (k *Kraken) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
- func (k *Kraken) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (k *Kraken) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
- func (k *Kraken) GetOrderInfos(txids ...string) ([]Order, error)
- func (k *Kraken) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (k *Kraken) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (k *Kraken) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
- func (k *Kraken) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (k *Kraken) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
- func (k *Kraken) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (k *Kraken) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)
- type NewOrderResponse
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { Error []string `json:"error"` Result interface{} `json:"result"` }
type Kraken ¶
type Kraken struct {
// contains filtered or unexported fields
}
func (*Kraken) CancelOrder ¶
func (*Kraken) GetDepth ¶
func (*Kraken) GetKlineRecords ¶
func (*Kraken) GetOneOrder ¶
func (*Kraken) GetOrderHistorys ¶
func (*Kraken) GetTrades ¶
非个人,整个交易所的交易记录
func (*Kraken) GetUnfinishOrders ¶
func (*Kraken) LimitBuy ¶
func (*Kraken) LimitSell ¶
func (*Kraken) MarketBuy ¶
Click to show internal directories.
Click to hide internal directories.