44 var order = parameters.
Order;
50 var unitPrice = order.Direction ==
OrderDirection.Buy ? security.AskPrice : security.BidPrice;
51 unitPrice *= security.SymbolProperties.ContractMultiplier;
52 var currency = security.QuoteCurrency.Symbol;
55 if (order.Type ==
OrderType.Limit && (props?.PostOnly ==
true || !order.IsMarketable))
67 unitPrice * order.AbsoluteQuantity * fee,