mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
bbgo: move some logs to debug level
This commit is contained in:
parent
63a5881d16
commit
728bf5fc81
|
@ -27,7 +27,7 @@ func (b *LocalActiveOrderBook) BindStream(stream types.Stream) {
|
|||
}
|
||||
|
||||
func (b *LocalActiveOrderBook) orderUpdateHandler(order types.Order) {
|
||||
log.Infof("[LocalActiveOrderBook] received order update: %+v", order)
|
||||
log.Debugf("[LocalActiveOrderBook] received order update: %+v", order)
|
||||
|
||||
switch order.Status {
|
||||
case types.OrderStatusFilled:
|
||||
|
@ -40,7 +40,7 @@ func (b *LocalActiveOrderBook) orderUpdateHandler(order types.Order) {
|
|||
b.Update(order)
|
||||
|
||||
case types.OrderStatusCanceled, types.OrderStatusRejected:
|
||||
log.Infof("[LocalActiveOrderBook] order status %s, removing %d...", order.Status, order.OrderID)
|
||||
log.Debugf("[LocalActiveOrderBook] order status %s, removing %d...", order.Status, order.OrderID)
|
||||
b.Remove(order)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user