grid2: add one more log

This commit is contained in:
c9s 2023-03-05 17:55:04 +08:00
parent 584fae1a53
commit dfba758e88
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -1410,7 +1410,7 @@ func (s *Strategy) recoverGridWithOpenOrders(ctx context.Context, historyService
filledOrders = filledOrders[1:] filledOrders = filledOrders[1:]
} }
s.logger.Infof("GRID RECOVER: found %d filled grid orders, will re-replay the order event in the following order:", len(filledOrders)) s.logger.Infof("GRID RECOVER: found %d/%d filled grid orders, gridNumber=%d, will re-replay the order event in the following order:", len(filledOrders), len(tmpOrders), int(s.GridNum))
for i, o := range filledOrders { for i, o := range filledOrders {
s.logger.Infof("%d) %s", i+1, o.String()) s.logger.Infof("%d) %s", i+1, o.String())
} }