mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
grid2: adjust maxTries to 5
This commit is contained in:
parent
a4f5d15334
commit
d9312abba2
|
@ -1054,7 +1054,7 @@ func (s *Strategy) recoverGrid(ctx context.Context, historyService types.Exchang
|
|||
// TODO: handle context correctly
|
||||
startTime := firstOrderTime
|
||||
endTime := now
|
||||
maxTries := 3
|
||||
maxTries := 5
|
||||
localHistoryRollbackDuration := historyRollbackDuration
|
||||
for maxTries > 0 {
|
||||
maxTries--
|
||||
|
|
Loading…
Reference in New Issue
Block a user