diff --git a/pkg/bbgo/order_store.go b/pkg/bbgo/order_store.go index b1a0e47ff..1cdad09c7 100644 --- a/pkg/bbgo/order_store.go +++ b/pkg/bbgo/order_store.go @@ -128,9 +128,7 @@ func (s *OrderStore) handleOrderUpdate(order types.Order) { case types.OrderStatusCanceled: if s.RemoveCancelled { - if order.Status != types.OrderStatusPartiallyFilled { - s.Remove(order) - } + s.Remove(order) } case types.OrderStatusRejected: