mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
grid2: improve warning message
This commit is contained in:
parent
f958120fb5
commit
829edeb401
|
@ -444,7 +444,7 @@ func (s *Strategy) processFilledOrder(o types.Order) {
|
|||
executedPrice := o.Price
|
||||
|
||||
if o.ExecutedQuantity.Compare(o.Quantity) != 0 {
|
||||
s.logger.Warnf("order executed quantity %s != order quantity %s, something is wrong", o.ExecutedQuantity, o.Quantity)
|
||||
s.logger.Warnf("order #%d is filled, but order executed quantity %s != order quantity %s, something is wrong", o.OrderID, o.ExecutedQuantity, o.Quantity)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user