Function mid_price

Source
pub const fn mid_price(bid: u64, ask: u64) -> u64
Expand description

Calculate mid price from bid and ask