mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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
|
// TODO: handle context correctly
|
||||||
startTime := firstOrderTime
|
startTime := firstOrderTime
|
||||||
endTime := now
|
endTime := now
|
||||||
maxTries := 3
|
maxTries := 5
|
||||||
localHistoryRollbackDuration := historyRollbackDuration
|
localHistoryRollbackDuration := historyRollbackDuration
|
||||||
for maxTries > 0 {
|
for maxTries > 0 {
|
||||||
maxTries--
|
maxTries--
|
||||||
|
|
Loading…
Reference in New Issue
Block a user