SPARK-693, simulator fills are tagged with correct price

This commit is contained in:
Pedro Pinto committed 2018-03-20 12:25:30 -04:00
1 parent 6f8f57ca4a
commit c0025b08c5
1 file changed
+1 -1
@@ -336,7 +336,7 @@ void ExchangeSimApplication::updateOrder(const Order &order, char status) {
if (status == FIX::OrdStatus_FILLED ||
status == FIX::OrdStatus_PARTIALLY_FILLED) {
fixOrder.set(FIX::LastShares(order.last_executed_quantity.value()));
fixOrder.set(FIX::LastPx(order.last_executed_quantity.value()));
fixOrder.set(FIX::LastPx(order.last_executed_price.value()));
}
fixOrder.getHeader().set(FIX::TargetSubID(order.sender_sub_id));