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