Skip to main content

Gate.io

Gate.io Market Data Connector

Gate.io Data Connector based on WebSocket/REST.

Configuration

Data Connector Parameters

ParameterDefault ValueDescription
REST URLhttps://api.gateio.ws/api/v4/REST root URL.
WebSocket URLwss://api.gateio.ws/ws/v4/WebSocket root URL.
Read Timeout15000Read timeout in milliseconds.
Reconnect Timeout15000Reconnect timeout in milliseconds.
Exchange NameGATEIOExchange name for this session.
Snapshots Only ModetrueThis option allows to enable full order book snapshots mode with limited number of levels.

In this mode you will get full order book snapshots each 100 milliseconds, but the book size is limited to 100 levels.
If Snapshots Only mode is disabled, the size of the output book is limited to 1000 levels.

Default value is true.
Output Book Size20Size of the output book.

Maximum value is 100 for Snapshots Only mode and 1000 when Snapshots Only mode is disabled.
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.

Set value to zero to disable periodical Level2 snapshots.

Symbology

Supported symbol notations:

Symbol NotationExamples
CRYPTO_PAIR (upper case)BTC_USDT
ETH_USDT

Full symbol list: https://api.gateio.ws/api/v4/spot/currency_pairs