Documentation ¶
Index ¶
- type BitMEX
- func (b *BitMEX) AmendOrder(symbol string, id string, price float64, size float64) (result Order, err error)
- func (b *BitMEX) CancelAllOrders(symbol string) (err error)
- func (b *BitMEX) CancelOrder(symbol string, id string) (result Order, err error)
- func (b *BitMEX) GetAccountSummary(currency string) (result AccountSummary, err error)
- func (b *BitMEX) GetContractID() (symbol string, err error)
- func (b *BitMEX) GetName() (name string)
- func (b *BitMEX) GetOpenOrders(symbol string) (result []Order, err error)
- func (b *BitMEX) GetOrder(symbol string, id string) (result Order, err error)
- func (b *BitMEX) GetOrderBook(symbol string, depth int) (result OrderBook, err error)
- func (b *BitMEX) GetPosition(symbol string) (result Position, err error)
- func (b *BitMEX) GetRecords(symbol string, period string, from int64, end int64, limit int) (records []Record, err error)
- func (b *BitMEX) PlaceOrder(symbol string, direction Direction, orderType OrderType, price float64, ...) (result Order, err error)
- func (b *BitMEX) RunEventLoopOnce() (err error)
- func (b *BitMEX) SetContractType(currencyPair string, contractType string) (err error)
- func (b *BitMEX) SetLeverRate(value float64) (err 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
}
BitMEX the BitMEX broker
func (*BitMEX) AmendOrder ¶
func (*BitMEX) CancelAllOrders ¶
func (*BitMEX) CancelOrder ¶
func (*BitMEX) GetAccountSummary ¶
func (*BitMEX) GetContractID ¶
func (*BitMEX) GetOpenOrders ¶
func (*BitMEX) GetOrderBook ¶
func (*BitMEX) GetPosition ¶
func (*BitMEX) GetRecords ¶
func (*BitMEX) PlaceOrder ¶
func (*BitMEX) RunEventLoopOnce ¶
func (*BitMEX) SetContractType ¶
func (*BitMEX) SetLeverRate ¶
Click to show internal directories.
Click to hide internal directories.