Skip to main content

from_order_trades

Function from_order_trades 

Source
pub fn from_order_trades(
    t: &OrderTrades,
    instrument: InstrumentId,
    cid: Option<ClientOrderId>,
    now: Instant,
) -> Vec<Execution>
Expand description

One Execution per trade in an OrderTrades message. The stream carries no commission (zero) and no order_request_id: cid comes from the order ids the connector has seen.