From 89c88c48a3b9334c0bd04943aaa0acdd4f737e09 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 17 Sep 2023 18:25:21 +0800 Subject: [PATCH] bbgo: log filled order --- pkg/bbgo/activeorderbook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/bbgo/activeorderbook.go b/pkg/bbgo/activeorderbook.go index 9c6cca1f4..86b90e64f 100644 --- a/pkg/bbgo/activeorderbook.go +++ b/pkg/bbgo/activeorderbook.go @@ -291,6 +291,7 @@ func (b *ActiveOrderBook) Update(order types.Order) { b.mu.Unlock() if removed { + log.Infof("[ActiveOrderBook] order #%d is filled: %s", order.OrderID, order.String()) b.EmitFilled(order) } b.C.Emit()