pub fn calculate_commission(
instrument: InstrumentAny,
quantity: Quantity,
price: Price,
currency: Option<Currency>,
) -> Money
Expand description
Helper to calculate commission in test fixtures.
ยงPanics
Panics if the underlying calculate_commission
returns an error.