17 using System.Collections.Generic;
53 return GetProperty<AccountType>(nameof(
AccountType));
79 if ((markets as PyObject).TryConvert(out IReadOnlyDictionary<SecurityType, string> csharpDic))
84 var dic =
new Dictionary<SecurityType, string>();
85 foreach (var item
in markets)
87 using var pyItem = item as PyObject;
89 dic[market] = markets[item];
92 (markets as PyObject).Dispose();
138 out var outParameters, security, order, message);
156 security, order, request, message);
199 return InvokeMethod<decimal>(nameof(
GetLeverage), security);
219 [Obsolete(
"Flagged deprecated and will remove December 1st 2018")]
222 return InvokeMethod<ISettlementModel>(nameof(
GetSettlementModel), security, accountType);
245 return InvokeMethod<bool>(nameof(
Shortable), algorithm, symbol, quantity);
266 [Obsolete(
"Flagged deprecated and will remove December 1st 2018")]
269 return InvokeMethod<IBuyingPowerModel>(nameof(
GetBuyingPowerModel), security, accountType);