grid2: sleep 100ms between the recover orders

This commit is contained in:
c9s 2023-02-22 01:11:34 +08:00
parent 9e5717ab83
commit 67d84b9716
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -1264,6 +1264,7 @@ func (s *Strategy) recoverGridWithOpenOrders(ctx context.Context, historyService
for _, o := range filledOrders {
s.processFilledOrder(o)
time.Sleep(100 * time.Millisecond)
}
// wait for the reverse order to be placed