Documentation ¶
Index ¶
- type BitMex
- func (b *BitMex) GetName() string
- func (b *BitMex) GetOHLCV(symbol string, period string, start int64, end int64, limit int64) (results []*OHLCV, err error)
- func (b *BitMex) GetOrderBook(symbol string, depth int) (result *OrderBook, err error)
- func (b BitMex) GetSymbol() (symbol string, err error)
- func (b *BitMex) GetTime() (tm int64, err error)
- func (b *BitMex) PlaceOrder(symbol string, direction Direction, orderType OrderType, price float64, ...) (result *Order, err error)
- func (b *BitMex) SetSymbol(symbol string) (err error)
- func (b *BitMex) SubscribeLevel2Snapshots(market string, callback func(ob *OrderBook)) error
- func (b *BitMex) SubscribeOrders(market string, callback func(orders []*Order)) error
- func (b *BitMex) SubscribePositions(market string, callback func(positions []*Position)) error
- func (b *BitMex) SubscribeTrades(market string, callback func(trades []*Trade)) 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) GetOrderBook ¶
func (*BitMex) PlaceOrder ¶
func (*BitMex) SubscribeLevel2Snapshots ¶
func (*BitMex) SubscribeOrders ¶
func (*BitMex) SubscribePositions ¶
func (*BitMex) SubscribeTrades ¶
Click to show internal directories.
Click to hide internal directories.