Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "rsicross"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct { *common.Strategy Environment *bbgo.Environment Market types.Market Symbol string `json:"symbol"` Interval types.Interval `json:"interval"` SlowWindow int `json:"slowWindow"` FastWindow int `json:"fastWindow"` OpenBelow fixedpoint.Value `json:"openBelow"` CloseAbove fixedpoint.Value `json:"closeAbove"` bbgo.OpenPositionOptions }
func (*Strategy) Initialize ¶ added in v1.55.2
func (*Strategy) InstanceID ¶
func (*Strategy) Run ¶
func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, session *bbgo.ExchangeSession) error
func (*Strategy) Subscribe ¶
func (s *Strategy) Subscribe(session *bbgo.ExchangeSession)
Click to show internal directories.
Click to hide internal directories.