Skip to content

satyamdevs/RustMatchEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦€ Rust Matching Engine

A minimal matching engine prototype written in Rust. It includes a simple orderbook, price levels, limit orders, and basic matching logic.

Features

Bids & asks stored in separate price-level maps

Add limit orders to the orderbook

Market order filling (partial & multi-order)

MatchingEngine supporting multiple trading pairs

Example usage in main.rs

Unit tests for order matching

πŸ“ Structure src/ β”œβ”€β”€ main.rs └── matching_engine/ β”œβ”€β”€ mod.rs β”œβ”€β”€ engine.rs └── orderbook.rs

▢️ Run cargo run

πŸ§ͺ Tests cargo test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages