Disregard child order updates until the order is aknowledged.
This commit is contained in:
1 parent
d3e31cb0ec
commit
8bf0ce54bf
1 file changed
+2
@@ -173,6 +173,8 @@ void SingleLegQuoter::_handle_events_in_WAITING_FOR_FIRST_ACK(const EventData& e
|
||||
_transform_to_WAITING_FOR_CANCEL_ACK();
|
||||
else
|
||||
{
|
||||
if (order_udpate_message.status == api::orderman::OS_UNACKNOWLEDGED)
|
||||
return;
|
||||
if (_price_quantity_state.remaining_to_fill().value() == 0)
|
||||
_transform_to_WAITING_FOR_CANCEL_ACK();
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user