pub fn calc_notional_size(
leverage: LeverageToBase,
direction: DirectionToBase,
market_type: MarketType,
price_point: &PricePoint,
collateral: NonZero<Collateral>,
) -> Result<Signed<Notional>>pub fn calc_notional_size(
leverage: LeverageToBase,
direction: DirectionToBase,
market_type: MarketType,
price_point: &PricePoint,
collateral: NonZero<Collateral>,
) -> Result<Signed<Notional>>