mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add types.OrderStatusFilled
This commit is contained in:
parent
63df07b815
commit
458fa8aa9d
|
@ -220,7 +220,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
|
||||
switch order.Status {
|
||||
|
||||
case types.OrderStatusCanceled, types.OrderStatusRejected:
|
||||
case types.OrderStatusCanceled, types.OrderStatusRejected, types.OrderStatusFilled:
|
||||
log.Infof("order status %s, removing %d from the active order pool...", order.Status, order.OrderID)
|
||||
|
||||
switch order.Side {
|
||||
|
|
Loading…
Reference in New Issue
Block a user