pub fn calculate_order_book_imbalance( bid_volumes: &[f64], ask_volumes: &[f64], ) -> f64
Calculate order book imbalance with vectorization