mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
print unhandled order status
This commit is contained in:
parent
ff90a704d9
commit
e06310da26
|
@ -53,6 +53,9 @@ func (b *LocalActiveOrderBook) orderUpdateHandler(order types.Order) {
|
|||
case types.OrderStatusCanceled, types.OrderStatusRejected:
|
||||
log.Debugf("[LocalActiveOrderBook] order status %s, removing %d...", order.Status, order.OrderID)
|
||||
b.Remove(order)
|
||||
|
||||
default:
|
||||
log.Warnf("unhandled order status: %s", order.Status)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user