mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
bbgo: log filled order
This commit is contained in:
parent
797ee4402c
commit
89c88c48a3
|
@ -291,6 +291,7 @@ func (b *ActiveOrderBook) Update(order types.Order) {
|
||||||
b.mu.Unlock()
|
b.mu.Unlock()
|
||||||
|
|
||||||
if removed {
|
if removed {
|
||||||
|
log.Infof("[ActiveOrderBook] order #%d is filled: %s", order.OrderID, order.String())
|
||||||
b.EmitFilled(order)
|
b.EmitFilled(order)
|
||||||
}
|
}
|
||||||
b.C.Emit()
|
b.C.Emit()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user