23 using System.Collections.Generic;
33 private readonly HashSet<Type> _supportedTimeInForces =
new()
40 private readonly HashSet<OrderType> _supportedOrderTypes =
new()
47 private const decimal _maxLeverage = 5m;
78 if (!_supportedTimeInForces.Contains(order.
TimeInForce.GetType()))
117 if (!_supportedTimeInForces.Contains(order.
TimeInForce.GetType()))
126 if (!_supportedOrderTypes.Contains(order.
Type))
156 public override IReadOnlyDictionary<SecurityType, string>
DefaultMarkets {
get; } = GetDefaultMarkets();
199 private static IReadOnlyDictionary<SecurityType, string> GetDefaultMarkets()
205 return map.ToReadOnlyDictionary();