Skip to main content

MEXC Market Data Connector

MEXC Data Connector based on WebSocket/REST.

Features

mexcConnector Key
Instrument Types
FX
Asset Class
Crypto
Technology
WebSocketREST
Feed Mode
Real-Time
Order Book Update Mode
SnapshotIncremental Updates
Order Book Type
Aggregated
Level 1
Level 2
Level 3
Trades
Funding Rates

Configuration

Data Connector Parameters

ParameterDefault ValueDescription
WebSocket URLws://wbs-api.mexc.com/wsWebSocket root URL.
REST URLhttps://api.mexc.com/REST root URL.
Read Timeout15000Read timeout in milliseconds.
Reconnect Timeout15000Reconnect timeout in milliseconds.
Exchange NameMEXCExchange name for this session.
Output Book Size20Size of the output book.
Snapshot Interval10SThis property sets an interval in seconds between periodical Level2 snapshots which sent to Aggregator.

Snapshots will be generated as soon as this threshold is exceeded AND the next increment message arrives. Conversely, snapshots are NOT generated every period if no data is coming in.

Default value is 10 seconds.

Symbology

Supported symbol notations:

Symbol NotationExamples
CRYPTOPAIR (upper case)BTCUSDT
ETHUSDT

Full symbol list: https://api.mexc.com/api/v3/ticker/price

Logging

To enable detailed logging, use these lines in the <QSHOME>/config/gflog.xml file:

<logger name="deltix.qsrv.hf.plugins.data.mexc" level="DEBUG">
<appender-ref ref="safeAppender"/>
</logger>