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 State struct + AccumulativeArbitrageProfit fixedpoint.Value + ArbitrageOrders map[uint64]types.Order + FilledBuyGrids map[fixedpoint.Value]struct{} + FilledSellGrids map[fixedpoint.Value]struct{} + Orders []types.SubmitOrder + Position *bbgo.Position + type Strategy struct + CatchUp bool + FixedAmount fixedpoint.Value + GridNum int + Long bool + LowerPrice fixedpoint.Value + ProfitSpread fixedpoint.Value + Quantity fixedpoint.Value + QuantityScale *bbgo.PriceVolumeScale + Side types.SideType + Symbol string + TradeService *service.TradeService + UpperPrice fixedpoint.Value + func (s *Strategy) ID() string + func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, ...) error + func (s *Strategy) Subscribe(session *bbgo.ExchangeSession) + func (s *Strategy) Validate() error