Expose open order runtime fields
This commit is contained in:
@@ -208,6 +208,10 @@ impl<C, R> BrokerSimulator<C, R> {
|
||||
requested_quantity: order.requested_quantity,
|
||||
filled_quantity: order.filled_quantity,
|
||||
remaining_quantity: order.remaining_quantity,
|
||||
unfilled_quantity: order.remaining_quantity,
|
||||
status: OrderStatus::Pending,
|
||||
avg_price: 0.0,
|
||||
transaction_cost: 0.0,
|
||||
limit_price: order.limit_price,
|
||||
reason: order.reason.clone(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user