Skip to main content

Coinbase Prime Market Data Connector

Coinbase Prime Data Connector based on WebSocket/REST.

Features

coinbase_primeConnector 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://ws-feed.prime.coinbase.comWebSocket root URL.
REST URLhttps://api.prime.coinbase.com/v1REST root URL.
API KeyN/AAPI key for authentication in Coinbase.
PassphraseN/APassphrase for authentication in Coinbase.
Secret KeyN/ASecret key for authentication in Coinbase.
Service Account IDN/AService account ID for authentication in Coinbase.
Portfolio IDN/APortfolio ID for authentication in Coinbase.
Max Instruments Per Connection10Maximum number of instruments per WebSocket connection.

Default value is 10.
Read Timeout35000Read timeout in milliseconds.
Reconnect Timeout15000Reconnect timeout in milliseconds.
Exchange NameCOINBASEExchange 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
CRYPTO-PAIR (UPPER CASE)BTC-USD

Logging

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

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