Skip to main content

make_trade_tick

Function make_trade_tick 

Source
pub fn make_trade_tick(
    instrument_id: InstrumentId,
    price: Price,
    size: Quantity,
    trade_id: TradeId,
    ts_event: UnixNanos,
    ts_init: UnixNanos,
) -> TradeTick
Expand description

Creates a [TradeTick] from stream data.

Betfair does not identify the aggressor side in its stream, so [AggressorSide::NoAggressor] is always used.