mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
grid2: add one more log
This commit is contained in:
parent
584fae1a53
commit
dfba758e88
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user