Add MEXC Assessment Zone trading pair support #2973
Closed
+54
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
getMarkets()protected in ExchangeService to allow subclass overridesmarketsarray (forgetTradePair(),getPrecision())exchange.markets(forfetchOrderBook(),createOrder())exchange.markets_by_id(for order response parsing)exchange.symbols(for symbol validation)Background
ZCHF/USDT was moved to MEXC's Assessment Zone around 08.01.2026. Assessment Zone pairs:
fetchMarkets()doesn't return them)Technical Details
ccxt validates symbols at multiple levels:
getMarkets()for pair validation and precision lookupexchange.marketsfor methods likefetchOrderBook()exchange.markets_by_idwhen parsing order responses (ID → symbol mapping)Without injecting into all three, trading would fail at different stages.
Test plan