nautilus_model::accounts::stubs

Function calculate_commission

Source
pub fn calculate_commission(
    instrument: InstrumentAny,
    quantity: Quantity,
    price: Price,
    currency: Option<Currency>,
) -> Money