Expose open order runtime fields

This commit is contained in:
boris
2026-04-23 19:47:56 -07:00
parent f4030f2607
commit c12a883d28
6 changed files with 132 additions and 5 deletions

View File

@@ -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(),
})