pub fn create_position_reconciliation_venue_order_id(
account_id: AccountId,
instrument_id: InstrumentId,
order_side: OrderSide,
order_type: OrderType,
quantity: Quantity,
price: Option<Price>,
venue_position_id: Option<PositionId>,
tag: Option<&str>,
ts_last: UnixNanos,
) -> VenueOrderIdExpand description
The account_id scopes the ID to the venue account, preventing cross-account
collisions where the engine would otherwise fall back to ClientOrderId::from(venue_order_id)
and conflate orders from different accounts. The ts_last (venue-provided) ensures that
successive reconciliation incidents with the same shape get distinct IDs, while the same
logical event replayed after restart still hashes the same (venue re-reports identical ts).