19 using System.Collections.Generic;
31 private readonly Dictionary<SecurityType, HashSet<OrderType>> _supportOrderTypeBySecurityType =
new()
71 if (!_supportOrderTypeBySecurityType.TryGetValue(security.
Type, out var supportOrderTypes))
78 if (!supportOrderTypes.Contains(order.
Type))
85 return base.CanSubmitOrder(security, order, out message);