Skip to main content

Deribit Market Data Connector

Deribit Data Connector based on WebSocket/REST.

Features

deribitConnector Key
Instrument Types
FXFUTUREOPTION
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://www.deribit.com/ws/api/v2/WebSocket root URL.

The following URLs are supported:

Standard Deribit WebSocket endpoint:
wss://www.deribit.com/ws/api/v2/

Alternative Deribit Event Nodes WebSocket endpoint:
wss://streams.deribit.com/ws/api/v2/

By default URL for standard Deribit WebSocket endpoint is chosen.
REST URLhttps://www.deribit.com/api/v2/REST root URL.
Enable AuthenticationtrueThis option allows to enable authentication in Deribit.

Default value for this option is true.
Client IDN/AClient ID for authentication in Deribit.
API SecretN/AAPI Secret for authentication in Deribit.
Exchange NameDERIBITExchange name for this session.
Quantity Multiplier FieldN/AField from the "securities" stream which is used for quantity transformation. Empty value means "no transformation".
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
<CURRENCY>-<DMMMYY>BTC-25SEP19
<CURRENCY>-<DMMMYY>-<STRIKE>-<K>BTC-27SEP19-10500-P
<CURRENCY>-PERPETUALBTC-PERPETUAL

Deribit instrument’s meta-info can be found here:

Request all available currencies using: https://www.deribit.com/api/v2/public/get_currencies

Request all available symbols for each currency:

https://www.deribit.com/api/v2/public/get_instruments?currency=BTC

Logging

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

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