Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCanRetry = errors.New("error but can retry")
)
Functions ¶
This section is empty.
Types ¶
type TradeExchange ¶
type TradeExchange struct {
BaseProcesser
// contains filtered or unexported fields
}
func GetTradeExchange ¶
func NewTradeExchange ¶
func NewTradeExchange(exName string, impl exchange.Exchange, symbol string) *TradeExchange
func (*TradeExchange) Init ¶
func (b *TradeExchange) Init(bus *Bus) (err error)
func (*TradeExchange) Start ¶
func (b *TradeExchange) Start() (err error)
func (*TradeExchange) Stop ¶ added in v0.0.6
func (b *TradeExchange) Stop() (err error)
func (*TradeExchange) UseLocalStopOrder ¶ added in v0.2.1
func (b *TradeExchange) UseLocalStopOrder(enable bool)
Click to show internal directories.
Click to hide internal directories.