Documentation ¶
Index ¶
- type Binance
- func (b *Binance) Balance(ctx context.Context) error
- func (b *Binance) CancelAllOrders(ctx context.Context) error
- func (b *Binance) CancelOrder(ctx context.Context) error
- func (b *Binance) ClosedOrders(ctx context.Context) error
- func (b *Binance) Deposit(ctx context.Context) error
- func (b *Binance) Info() cxtgo.Base
- func (b *Binance) LimitOrder(ctx context.Context, symbol cxtgo.Symbol, side cxtgo.Side, offer cxtgo.Offer, ...) (cxtgo.Order, error)
- func (b *Binance) MarketOrder(ctx context.Context) error
- func (b *Binance) Markets(ctx context.Context, params ...cxtgo.Params) (cxtgo.MarketInfos, error)
- func (b *Binance) MyTrades(ctx context.Context) error
- func (b *Binance) OHLCV(ctx context.Context) error
- func (b *Binance) OpenOrders(ctx context.Context) error
- func (b *Binance) Order(ctx context.Context) error
- func (b *Binance) OrderBook(ctx context.Context) error
- func (b *Binance) Orders(ctx context.Context) error
- func (b *Binance) StreamOrderbook(onUpdate func(s cxtgo.Summary), onError func(err error), ...) error
- func (b *Binance) StreamTicker(onUpdate func(t cxtgo.Ticker), onError func(err error), ...) error
- func (b *Binance) StreamTrades(onUpdate func(t cxtgo.Trade), onError func(err error), opts ...cxtgo.StreamOpt) error
- func (b *Binance) Ticker(ctx context.Context, s cxtgo.Symbol) (cxtgo.Ticker, error)
- func (b *Binance) Tickers(ctx context.Context) error
- func (b *Binance) Trades(ctx context.Context) error
- func (b *Binance) Withdraw(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binance ¶
type Binance struct {
// contains filtered or unexported fields
}
Binance is the binance implementation for cxtgo interface
func (*Binance) LimitOrder ¶
func (*Binance) StreamOrderbook ¶
func (*Binance) StreamTicker ¶
func (*Binance) StreamTrades ¶
Click to show internal directories.
Click to hide internal directories.