Skip to main content

Cube Market Data Connector

Cube Data Connector based on WebSocket/REST.

Features

cubeConnector 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 URLwss://api.cube.exchange/WebSocket root URL.
REST URLhttps://api.cube.exchange/REST root URL.
Read Timeout15000Read timeout in milliseconds.
Reconnect Timeout15000Reconnect timeout in milliseconds.
Exchange NameCUBEExchange 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)ETHBTC

Full symbol list:

https://api.cube.exchange/ir/v0/markets

Logging

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

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