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