File tree Expand file tree Collapse file tree
src/ExchangeSharp/API/Exchanges/MEXC Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,24 +26,7 @@ private ExchangeMEXCAPI()
2626 RateLimit = new RateGate ( 20 , TimeSpan . FromSeconds ( 2 ) ) ;
2727 WebSocketOrderBookType = WebSocketOrderBookType . FullBookFirstThenDeltas ;
2828 }
29-
30- public override Task < string > ExchangeMarketSymbolToGlobalMarketSymbolAsync ( string marketSymbol )
31- {
32- var quoteLength = 3 ;
33- if ( marketSymbol . EndsWith ( "USDT" ) ||
34- marketSymbol . EndsWith ( "USDC" ) ||
35- marketSymbol . EndsWith ( "TUSD" ) )
36- {
37- quoteLength = 4 ;
38- }
39-
40- var baseSymbol = marketSymbol . Substring ( marketSymbol . Length - quoteLength ) ;
41-
42- return ExchangeMarketSymbolToGlobalMarketSymbolWithSeparatorAsync (
43- marketSymbol . Replace ( baseSymbol , "" )
44- + GlobalMarketSymbolSeparator
45- + baseSymbol ) ;
46- }
29+
4730
4831 protected override async Task < IEnumerable < string > > OnGetMarketSymbolsAsync ( )
4932 {
You can’t perform that action at this time.
0 commit comments