Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auralshin/orderbook
Centralised Limit Order Book in Rust
https://github.com/auralshin/orderbook
clob limit-order-book orderbook rust rust-lang
Last synced: 6 days ago
JSON representation
Centralised Limit Order Book in Rust
- Host: GitHub
- URL: https://github.com/auralshin/orderbook
- Owner: auralshin
- Created: 2024-01-19T19:45:13.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T22:08:12.000Z (12 months ago)
- Last Synced: 2024-05-02T05:11:21.434Z (8 months ago)
- Topics: clob, limit-order-book, orderbook, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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.