mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
xmaker: fix disableHedge check
This commit is contained in:
parent
6d857cdd48
commit
f9a75036a7
|
@ -1516,7 +1516,7 @@ func (s *Strategy) hedgeWorker(ctx context.Context) {
|
|||
continue
|
||||
}
|
||||
|
||||
if !s.DisableHedge {
|
||||
if s.DisableHedge {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user