Function calculate_relative_spread

Source
pub fn calculate_relative_spread(
    bids: &SmallVec<[Level; 25]>,
    asks: &SmallVec<[Level; 25]>,
) -> f64
Expand description

Relative Spread

Spread normalized by mid price