17 using System.Collections.Generic;
35 public new static readonly IReadOnlyDictionary<SecurityType, string>
DefaultMarketMap =
new Dictionary<SecurityType, string>
42 }.ToReadOnlyDictionary();
44 private readonly HashSet<OrderType> _supportedOrderTypes =
new()
66 throw new InvalidOperationException($
"Oanda brokerage can only be used with a {AccountType.Margin} account type");
95 if (!_supportedOrderTypes.Contains(order.
Type))