From df6187dc988a6027808ba842d77159b9d03d4951 Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 7 Dec 2022 12:25:30 +0800 Subject: [PATCH] grid2: remove default fee rate --- pkg/strategy/grid2/strategy.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/strategy/grid2/strategy.go b/pkg/strategy/grid2/strategy.go index b484533b0..2d038c76e 100644 --- a/pkg/strategy/grid2/strategy.go +++ b/pkg/strategy/grid2/strategy.go @@ -132,10 +132,6 @@ func (s *Strategy) Validate() error { return fmt.Errorf("gridNum can not be zero") } - if s.FeeRate.IsZero() { - s.FeeRate = fixedpoint.NewFromFloat(0.1 * 0.01) // 0.1%, 0.075% with BNB - } - if err := s.checkSpread(); err != nil { return err }