mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
grid2: sleep 100ms between the recover orders
This commit is contained in:
parent
9e5717ab83
commit
67d84b9716
|
@ -1264,6 +1264,7 @@ func (s *Strategy) recoverGridWithOpenOrders(ctx context.Context, historyService
|
||||||
|
|
||||||
for _, o := range filledOrders {
|
for _, o := range filledOrders {
|
||||||
s.processFilledOrder(o)
|
s.processFilledOrder(o)
|
||||||
|
time.Sleep(100 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait for the reverse order to be placed
|
// wait for the reverse order to be placed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user