bbgo: change pending update log level to info

This commit is contained in:
c9s 2023-11-14 16:15:29 +08:00
parent 3cfc810f8d
commit fe9dc9a79d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -268,7 +268,7 @@ func (b *ActiveOrderBook) Update(order types.Order) {
b.mu.Lock() b.mu.Lock()
if !b.orders.Exists(order.OrderID) { if !b.orders.Exists(order.OrderID) {
log.Infof("[ActiveOrderBook] order #%d %s does not exist, adding it to pending order update", order.OrderID, order.Status) log.Debugf("[ActiveOrderBook] order #%d %s does not exist, adding it to pending order update", order.OrderID, order.Status)
b.pendingOrderUpdates.Add(order) b.pendingOrderUpdates.Add(order)
b.mu.Unlock() b.mu.Unlock()
return return