pub fn calculate_slippage( target_price: Decimal, executed_price: Decimal, side: Side, ) -> Decimal
Calculate maximum slippage for market order