strategy: fix typo

This commit is contained in:
Andy Cheng 2022-05-23 12:06:24 +08:00
parent 64b1ec3780
commit bb4d6e61b0

View File

@ -292,7 +292,7 @@ func (s *Strategy) getCurrentAllowedExposurePosition(bandPercentage float64) (fi
// IsDynamicSpreadEnabled checks dynamic spread functionality enabled or not
func (s *Strategy) IsDynamicSpreadEnabled() bool {
if s.DynamicSpreadWindow > 0 && s.DynamicAskSpreadScale != nil && s.DynamicBidSpread != nil {
if s.DynamicSpreadWindow > 0 && s.DynamicAskSpreadScale != nil && s.DynamicBidSpreadScale != nil {
return true
}