Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.deribit.com/llms.txt

Use this file to discover all available pages before exploring further.

Starbase is Deribit’s high-performance matching engine designed for institutional trading and market makers. Equipped with a Simple Binary Encoding (SBE) API, Starbase provides direct access to the matching engine with ultra-low latency, making it ideal for high-frequency trading applications. At a later date, a FIX Drop Copy for a holistic view of orders and trades across the whole account will be added. A REST API with utility endpoints such as an order purge or order snapshot will also be added.
Open orders placed via Starbase are not visible in the Deribit web UI. Due to Starbase’s performance characteristics, the feed that powers the UI cannot keep up with the matching engine. Trades and positions will appear in the UI as expected — only open orders are affected.
The main components of the Starbase API:

Binary Order Entry API

The Binary Order Entry API provides direct access to the matching engine using a high-performance binary protocol optimized for ultra-low latency trading.
  • Order Entry: Place, amend, and cancel orders with minimal latency. Supports single orders, mass quotes (up to 15 double-sided quotes), and mass cancellation.
  • Market Maker Protection (MMP): Built-in protection against adverse selection. See Market Maker Protection for details.
  • Self Match Prevention (SMP): A highly flexible system to avoid matching order internally.

Multicast Market Data

Market data is distributed via multicast channels organized by product type (BTC perpetuals/futures, BTC options, ETH perpetuals/futures, ETH options, etc.). The multicast channels have:
  • Market-by-order data: Market data is sent as L3 data, allowing for full reconstruction of the order book.
  • A/B Redundancy: Duplicate feeds (A and B) for high availability.
  • Snapshot and Incremental Updates: Snapshot feeds provide the full order book state, while incremental feeds provide real-time updates.