hummingbot
hummingbot copied to clipboard
MEXC Exchange: Order Book Data for Assessment Zone Tokens Requires Authentication
Describe the bug
Problem
Currently, Hummingbot's MEXC connector fetches order book data using public WebSocket endpoints. However, for tokens in MEXC's "assessment zone", even public data (order book, trades) must be fetched using authenticated private methods. This causes connection failures when trying to trade these tokens.
Solution
Modify the order book data source to use authenticated WebSocket connection (with listen key) instead of public connection, similar to how user stream data is handled. This will allow access to assessment zone tokens when the API key is properly whitelisted.
Impact
- Enables trading of assessment zone tokens on MEXC
- Requires API key to be whitelisted for specific pairs
- No impact on regular trading pairs
https://www.mexc.com/support/articles/17827791522788
Release version
2.5.0
Type of installation
Docker