Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinanceFuturesManager ¶
type BinanceFuturesManager struct {
// contains filtered or unexported fields
}
func NewBinanceFuturesManager ¶
func NewBinanceFuturesManager(futuresClient *futures.Client, logger *zap.Logger, opts ...FuturesOption) (*BinanceFuturesManager, error)
func (*BinanceFuturesManager) ConsumeBuySignal ¶
func (m *BinanceFuturesManager) ConsumeBuySignal(buySignal api.BuySignal) error
func (*BinanceFuturesManager) UpdateSupportedSymbols ¶
func (m *BinanceFuturesManager) UpdateSupportedSymbols() error
type FuturesOption ¶
type FuturesOption interface {
// contains filtered or unexported methods
}
func WithEachTradeAmountInUSD ¶
func WithEachTradeAmountInUSD(f float64) FuturesOption
func WithLeverage ¶
func WithLeverage(l int) FuturesOption
func WithTakeProfitPriceChangedPercentage ¶
func WithTakeProfitPriceChangedPercentage(f float64) FuturesOption
func WithWillExecuteOrder ¶
func WithWillExecuteOrder(f bool) FuturesOption
Click to show internal directories.
Click to hide internal directories.