auralshin
orderbook
Rust

Centralised Limit Order Book (CLOB) in Rust

Last updated May 18, 2026
25
Stars
3
Forks
0
Issues
0
Stars/day
Attention Score
8
Language breakdown
Rust 100.0%
โ–ธ Files click to expand
README

Rust OrderBook

This Rust project implements an OrderBook for a cryptocurrency exchange, allowing for efficient management and matching of market and limit orders for various trading pairs (e.g., BTC-USD). The OrderBook maintains separate lists for buy (bid) and sell (ask) orders and provides functionality for adding orders, matching market and limit orders, and querying the current state of the order book.

Features

  • Order Management: Add market and limit orders to the order book.
  • Order Matching: Match market orders immediately with existing limit orders and limit orders with the best available market orders.
  • Querying Orders: Retrieve all orders, either bids or asks, and orders based on specific criteria.
  • Notifier Integration: Integration with websocket to inform about matched orders.
  • Order Priority: Orders are managed based on price and timestamp, ensuring fair and efficient matching.
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท auralshin/orderbook ยท Updated daily from GitHub