17 using System.Collections.Generic;
33 private readonly Type[] _supportedTimeInForces =
40 private readonly HashSet<OrderType> _supportedOrderTypes =
new HashSet<OrderType>
48 private const decimal _maxLeverage = 5m;
80 if (!_supportedTimeInForces.Contains(order.
TimeInForce.GetType()))
114 if (!_supportedOrderTypes.Contains(order.
Type))
124 if (!_supportedTimeInForces.Contains(order.
TimeInForce.GetType()))
152 public override IReadOnlyDictionary<SecurityType, string>
DefaultMarkets {
get; } = GetDefaultMarkets();
184 private static IReadOnlyDictionary<SecurityType, string> GetDefaultMarkets()
189 return map.ToReadOnlyDictionary();