Versions in this module Expand all Collapse all v1 v1.16.3 May 28, 2021 v1.16.2 May 28, 2021 v1.16.1 May 28, 2021 Changes in this version + const ID + type Float64Indicator interface + Last func() float64 + type Strategy struct + BalancePercentage fixedpoint.Value + Interval types.Interval + MovingAverageInterval types.Interval + MovingAverageType string + MovingAverageWindow int + OrderType string + PriceRatio fixedpoint.Value + Quantity fixedpoint.Value + SourceExchangeName string + StopPriceRatio fixedpoint.Value + Symbol string + TargetExchangeName string + func (s *Strategy) CrossRun(ctx context.Context, _ bbgo.OrderExecutionRouter, ...) error + func (s *Strategy) CrossSubscribe(sessions map[string]*bbgo.ExchangeSession) + func (s *Strategy) ID() string + func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, ...) error + func (s *Strategy) Subscribe(session *bbgo.ExchangeSession)