File tree Expand file tree Collapse file tree
src/ExchangeSharp/API/Exchanges/BinanceGroup Expand file tree Collapse file tree Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments