pub fn mid_price(best_bid_price: Decimal, best_ask_price: Decimal) -> DecimalExpand description
Calculate the mid-price by taking the average of the best bid and ask prices.
See Docs: https://www.quantstart.com/articles/high-frequency-trading-ii-limit-order-book