pub fn calculate_withdrawal_fee(
    spot_price: FixedU128,
    oracle_price: FixedU128,
    min_withdrawal_fee: Permill
) -> FixedU128
Expand description

Calculate withdrawal fee given current spot price and oracle price.