Skip to content

Commit 3fad02e

Browse files
committed
BinanceGroupCommon: Remove redundant ExchangeMarketSymbolToGlobalMarketSymbolAsync override
1 parent 454ed97 commit 3fad02e

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,6 @@ protected BinanceGroupCommon()
7474
RateLimit = new RateGate(40, TimeSpan.FromSeconds(10));
7575
}
7676

77-
protected virtual string[] NonThreeLetterQuoteCurrencies => new[] { "USDT", "USDC", "EURI" };
78-
79-
public override Task<string> ExchangeMarketSymbolToGlobalMarketSymbolAsync(
80-
string marketSymbol
81-
)
82-
{
83-
foreach (var quoteCurrency in NonThreeLetterQuoteCurrencies)
84-
{
85-
if (marketSymbol.EndsWith(quoteCurrency))
86-
{
87-
return ExchangeMarketSymbolToGlobalMarketSymbolWithSeparatorAsync(
88-
marketSymbol.Substring(0, marketSymbol.Length - quoteCurrency.Length) +
89-
GlobalMarketSymbolSeparator +
90-
quoteCurrency);
91-
}
92-
}
93-
94-
return ExchangeMarketSymbolToGlobalMarketSymbolWithSeparatorAsync(
95-
marketSymbol.Substring(0, marketSymbol.Length - 3) + GlobalMarketSymbolSeparator +
96-
marketSymbol.Substring(marketSymbol.Length - 3));
97-
}
98-
9977
/// <summary>
10078
/// Get the details of all trades
10179
/// </summary>

0 commit comments

Comments
 (0)