Deribit Trading System

Deribit Trading System

Deribit Trading System

A high-performance order execution and management system to trade on Deribit Test using C++.

Project Overview

A high-performance, command-line cryptocurrency trading system that connects to the Deribit Testnet via WebSocket for real-time trading operations. Designed for precision, low latency, and complete order management, the system offers an efficient way to test trading strategies and API integrations.

Key Features

  • Real-time Trading: WebSocket-based connection to Deribit Testnet for live order execution.
  • Command-Line Interface: Streamlined terminal-based trading experience.
  • Full Order Lifecycle: Create, modify, cancel, and view orders and open positions.
  • API Authentication: Secure login using client ID and secret.
  • Latency Tracking: Built-in tools to measure execution and network delays.
  • Order Types Support: Market, Limit, Stop Limit, Trailing Stop, and more.
  • Symbol Subscriptions: Stream live order book data for selected instruments.
  • Cross-platform setup scripts for macOS, Linux, and Windows.
  • Modular project structure with separate components for WebSocket management, API interface, authentication, latency tracking, and utilities.

Tech Stack

C++WebSocket++BoostOpenSSLJSON for Modern C++ReadlineCMake

Snapshots

Deribit Trading System Snapshot 1
Deribit Trading System Snapshot 2
Deribit Trading System Snapshot 3
Deribit Trading System Snapshot 4