mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
grid2: remove default fee rate
This commit is contained in:
parent
489b025702
commit
df6187dc98
|
@ -132,10 +132,6 @@ func (s *Strategy) Validate() error {
|
||||||
return fmt.Errorf("gridNum can not be zero")
|
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 {
|
if err := s.checkSpread(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user