normalize_trade_bin_volume

Function normalize_trade_bin_volume 

Source
pub fn normalize_trade_bin_volume(volume: Option<i64>, symbol: &Ustr) -> u64
Expand description

Normalizes the volume reported by BitMEX trade bins, defaulting to zero when the exchange returns negative or missing values.