Skip to main content

perp_current_value

Function perp_current_value 

Source
fn perp_current_value(
    perp: &PortfolioMarginPerpExposure,
    spot_price: f64,
    underlying: &str,
) -> Result<f64, MarginError>