Skip to main content

measure

Function measure 

Source
pub fn measure(record: &LegRecord, prices: &Prices) -> Option<Measurement>
Expand description

ExactIn compares delivered output (buys valued at spend); ExactOut compares major input paid for the identical output. None = unpriceable or a |bps| > OUTLIER_BPS dollar-outlier.