18 using System.Collections.Generic;
51 public List<string>
FxStablecoinList {
get; init; } =
new() {
"CAD",
"EUR",
"GBP",
"JPY",
"USD",
"USDT",
"DAI",
"USDC"};
64 var order = parameters.
Order;
68 var unitPrice = isBuy ? security.
AskPrice : security.BidPrice;
76 unitPrice *= security.SymbolProperties.ContractMultiplier;
83 (props?.PostOnly ==
true || !order.IsMarketable))
89 if (isBuy && props?.FeeInBase ==
true)
94 if (!isBuy && props?.FeeInQuote ==
true)
103 string actualBaseCurrency;
104 string actualQuoteCurrency;
109 isBuy ? unitPrice * order.AbsoluteQuantity * fee : 1 * order.AbsoluteQuantity * fee,
110 isBuy ? actualQuoteCurrency : actualBaseCurrency));