diff --git a/pkg/strategy/buyandhold/strategy.go b/pkg/strategy/buyandhold/strategy.go index ed753252db..756865530e 100644 --- a/pkg/strategy/buyandhold/strategy.go +++ b/pkg/strategy/buyandhold/strategy.go @@ -56,16 +56,6 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se var iw = types.IntervalWindow{Interval: s.Interval, Window: s.MovingAverageWindow} var ema = standardIndicatorSet.EWMA(iw) - session.Stream.OnKLine(func(kline types.KLine) { - // skip k-lines from other symbols - if kline.Symbol != s.Symbol { - return - } - - changePercentage := kline.GetChange() / kline.Open - log.Infof("change %f <=> %f", changePercentage, s.MinDropPercentage.Float64()) - }) - session.Stream.OnKLineClosed(func(kline types.KLine) { // skip k-lines from other symbols if kline.Symbol != s.Symbol {