nautilus_model::stubs

Function calculate_commission

Source
pub fn calculate_commission(
    instrument: &InstrumentAny,
    last_qty: Quantity,
    last_px: Price,
    use_quote_for_inverse: Option<bool>,
) -> Result<Money>
Expand description

Calculate commission for testing