Function calculate_order_book_slope

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

Order Book Slope Calculator

Measures the ratio of total ask to bid quantities