Documentation
¶
Index ¶
Constants ¶
View Source
const ID = "skeleton"
Variables ¶
View Source
var Ten = fixedpoint.NewFromInt(10)
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct {
Symbol string `json:"symbol"`
}
func (*Strategy) Run ¶
func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, session *bbgo.ExchangeSession) error
This strategy simply spent all available quote currency to buy the symbol whenever kline gets closed
func (*Strategy) Subscribe ¶
func (s *Strategy) Subscribe(session *bbgo.ExchangeSession)
Click to show internal directories.
Click to hide internal directories.