Gate.io Futures Market Data Connector
Gate.io Futures Data Connector based on WebSocket/REST.
Configuration
Data Connector Parameters
| Parameter | Default Value | Description |
|---|---|---|
| WebSocket URL | wss://fx-ws.gateio.ws/v4/ws/usdt | WebSocket root URL. To start the connector in "Perpetual Futures" mode with USDT contracts use the following URL: wss://fx-ws.gateio.ws/v4/ws/usdt To start the connector in "Perpetual Futures" mode with BTC contracts use the following URL: wss://fx-ws.gateio.ws/v4/ws/btc To start the connector in "Delivery Futures" mode with USDT contracts use the following URL: wss://fx-ws.gateio.ws/v4/ws/delivery/usdt To start the connector in "Delivery Futures" mode with BTC contracts use the following URL: wss://fx-ws.gateio.ws/v4/ws/delivery/btc By default the URL for "Perpetual Futures" mode with USDT contracts is chosen. |
| REST URL | https://api.gateio.ws/api/v4/futures/usdt/ | REST root URL. To start the connector in "Perpetual Futures" mode with USDT contracts use the following URL: https://api.gateio.ws/api/v4/futures/usdt/ To start the connector in "Perpetual Futures" mode with BTC contracts use the following URL: https://api.gateio.ws/api/v4/futures/btc/ To start the connector in "Delivery Futures" mode with USDT contracts use the following URL: https://api.gateio.ws/api/v4/delivery/usdt/ To start the connector in "Delivery Futures" mode with BTC contracts use the following URL: https://api.gateio.ws/api/v4/delivery/btc/ By default the URL for "Perpetual Futures" mode with USDT contracts is chosen. |
| Read Timeout | 15000 | Read timeout in milliseconds. |
| Reconnect Timeout | 15000 | Reconnect timeout in milliseconds. |
| Exchange Name | GATEIO | Exchange name for this session. |
| Output Book Size | 20 | Size of the output book. |
| Snapshot Interval | 10S | This 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 Notation | Examples |
|---|---|
| CRYPTO_PAIR (upper case) | BTC_USDT ETH_USDT |
Full symbol list can be obtained using REST API for Perpetual/Delivery Futures: