RAHUL ANANTMathematics & Computing
Back to Projects Library
Quantitative Systems & C++Under review 2026

Limit Order Book Engine: Market Microstructure

Role: Quantitative Developer

Market microstructure simulator implementing price-time priority matching and real-time depth tracking.

Technology Stack & Libraries

PythonC++Market MicrostructureAlgorithmsNumPy
The Challenge / Problem

Context & Objectives

Studying market microstructure and latency dynamics requires deterministic execution simulation before testing algorithmic strategies on live exchanges.

Architectural Solution

Engineered Approach

Built a modular matching engine that processes order additions, cancellations, and executions with FIFO priority and order flow imbalance calculation.

System Architecture & Pipeline

Order Stream -> FIFO Matching Engine -> Book Depth Aggregator -> Order Flow Imbalance (OFI) Analytics.

Implemented a limit order book with price-time priority matching and real-time depth tracking to model core quantitative trading infrastructure.

Engineered Capabilities & Innovations

Deterministic price-time priority (FIFO) order matching
Real-time bid/ask level depth tracking across multiple book tiers
Order Flow Imbalance (OFI) and microprice calculation
Python backtesting harness for simulated tick feeds

Empirical Results & Benchmarks

Successfully modeled core quantitative trading infrastructure for microstructure research.

Have Questions About This System?

I am always glad to discuss technical architecture, benchmarks, or potential collaboration.

Limit Order Book Engine: Market Microstructure — Case Study | Rahul Anant Yadav