Documentation ¶
Index ¶
- type BtcBox
- func (btcbox *BtcBox) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (btcbox *BtcBox) GetAccount() (*Account, error)
- func (btcbox *BtcBox) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (btcbox *BtcBox) GetExchangeName() string
- func (btcbox *BtcBox) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
- func (btcbox *BtcBox) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (btcbox *BtcBox) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
- func (btcbox *BtcBox) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (btcbox *BtcBox) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (btcbox *BtcBox) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
- func (btcbox *BtcBox) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (btcbox *BtcBox) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
- func (btcbox *BtcBox) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (btcbox *BtcBox) 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 BtcBox ¶
type BtcBox struct {
// contains filtered or unexported fields
}
func (*BtcBox) CancelOrder ¶
func (*BtcBox) GetAccount ¶
func (*BtcBox) GetExchangeName ¶
func (*BtcBox) GetKlineRecords ¶
func (*BtcBox) GetOneOrder ¶
func (*BtcBox) GetOrderHistorys ¶
func (*BtcBox) GetUnfinishOrders ¶
func (*BtcBox) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.