Skip to main content

Cube

Cube Market Data Connector

Cube Data Connector based on WebSocket/REST.

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