Documentation ¶
Index ¶
- type Bybit
- func (b *Bybit) AmendOrder(symbol string, id string, price float64, size float64) (result Order, err error)
- func (b *Bybit) CancelAllOrders(symbol string) (err error)
- func (b *Bybit) CancelOrder(symbol string, id string) (result Order, err error)
- func (b *Bybit) GetAccountSummary(currency string) (result AccountSummary, err error)
- func (b *Bybit) GetContractID() (symbol string, err error)
- func (b *Bybit) GetName() (name string)
- func (b *Bybit) GetOpenOrders(symbol string) (result []Order, err error)
- func (b *Bybit) GetOrder(symbol string, id string) (result Order, err error)
- func (b *Bybit) GetOrderBook(symbol string, depth int) (result OrderBook, err error)
- func (b *Bybit) GetPosition(symbol string) (result Position, err error)
- func (b *Bybit) GetRecords(symbol string, period string, from int64, end int64, limit int) (records []Record, err error)
- func (b *Bybit) PlaceOrder(symbol string, direction Direction, orderType OrderType, price float64, ...) (result Order, err error)
- func (b *Bybit) RunEventLoopOnce() (err error)
- func (b *Bybit) SetContractType(currencyPair string, contractType string) (err error)
- func (b *Bybit) SetLeverRate(value float64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bybit ¶
type Bybit struct {
// contains filtered or unexported fields
}
Bybit the Bybit broker
func (*Bybit) AmendOrder ¶
func (*Bybit) CancelAllOrders ¶
func (*Bybit) CancelOrder ¶
func (*Bybit) GetAccountSummary ¶
func (*Bybit) GetContractID ¶
func (*Bybit) GetOpenOrders ¶
func (*Bybit) GetOrderBook ¶
func (*Bybit) GetPosition ¶
func (*Bybit) GetRecords ¶
func (*Bybit) PlaceOrder ¶
func (*Bybit) RunEventLoopOnce ¶
func (*Bybit) SetContractType ¶
func (*Bybit) SetLeverRate ¶
Click to show internal directories.
Click to hide internal directories.