mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy: fix typo
This commit is contained in:
parent
64b1ec3780
commit
bb4d6e61b0
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user