Skip to main content

scale_event

Function scale_event 

pub fn scale_event(ev: &mut Event, lot: i64)
Expand description

Multiplies the quantities of a market data event by the lot size: the levels of a book, the best levels of a quote, the quantity of a trade, the volume of a candle. Other events stay as they are.