Versions in this module Expand all Collapse all v0 v0.0.6 Aug 10, 2021 Changes in this version + type Broker interface + Account func() (model.Account, error) + Cancel func(model.Order) error + Order func(symbol string, id int64) (model.Order, error) + OrderLimit func(side model.SideType, symbol string, size float64, limit float64) (model.Order, error) + OrderMarket func(side model.SideType, symbol string, size float64) (model.Order, error) + OrderOCO func(side model.SideType, symbol string, size, price, stop, stopLimit float64) ([]model.Order, error) + Position func(symbol string) (asset, quote float64, err error) + type Exchange interface + type Feeder interface + CandlesByLimit func(ctx context.Context, pair, period string, limit int) ([]model.Candle, error) + CandlesByPeriod func(ctx context.Context, pair, period string, start, end time.Time) ([]model.Candle, error) + CandlesSubscription func(pair, timeframe string) (chan model.Candle, chan error) + type Notifier interface + Notify func(string) + OnOrder func(order model.Order) + OrError func(err error) + type Telegram interface + Notify func(text string) + Start func()