grid2: remove default fee rate

This commit is contained in:
c9s 2022-12-07 12:25:30 +08:00
parent 489b025702
commit df6187dc98

View File

@ -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
}