RepositoryC++ITItaly
Leotaby

Leotaby/MicroExchange

Exchange-grade CLOB matching engine + microstructure analytics in C++20

71sao
11fork
0issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: order-book

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: matching-engine

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: quantitative-finance

#1 Repository của tháng

📈 MicroExchange: Engine khớp lệnh CLOB cấp sàn + phân tích microstructure bằng C++20

Một phòng thí nghiệm microstructure thị trường hoàn chỉnh từ entry đến trade print, kết hợp độ chính xác sàn giao dịch và chiều sâu phân tích kinh tế tài chính.

MicroExchange là một dự án mã nguồn mở được xây dựng bằng C++20 hiện đại, cung cấp một engine khớp lệnh CLOB (Central Limit Order Book) đạt chuẩn sàn giao dịch thực tế. Dự án hỗ trợ replay dữ liệu thị trường theo định dạng ITCH, mô phỏng luồng lệnh dựa trên quá trình Hawkes và mô hình zero-intelligence, đồng thời tích hợp các công cụ phân tích microstructure như phân rã spread, Kyle’s lambda, và các đặc tính thống kê thị trường (stylized facts).

✨ Điểm nổi bật

  • CLOB Matching Engine: Hỗ trợ khớp lệnh theo ưu tiên giá-thời gian (FIFO) với các loại lệnh Limit, Market, IOC, FOK, Stop, StopLimit.
  • ITCH Replay: Phát lại dữ liệu thị trường lịch sử theo định dạng ITCH để kiểm tra và phân tích.
  • Mô hình luồng lệnh: Mô phỏng bằng quá trình Hawkes và mô hình zero-intelligence (ZI).
  • Dashboard tương tác 3D: Hiển thị bề mặt sách lệnh, bề mặt tác động giá Kyle’s lambda, phân rã spread và các đặc điểm thị trường.
  • Backend sách lệnh linh hoạt: Hỗ trợ cả OrderBook (dựa trên std::map) và ArrayOrderBook (mảng + chỉ số bitmap BBO).
  • Phân tích microstructure: Tính toán spread trích dẫn, spread hiệu quả, độ sâu và khả năng phụ hồi sách lệnh.
  • Kiến trúc modular: Tách biệt gateway, matching core, market data feed và analytics với API thống nhất.
  • TCP Gateway: Giao thức nhập lệnh nhị phân qua socket.

💡 Vì sao đáng chú ý

MicroExchange không chỉ là một engine khớp lệnh đơn thuần mà còn là một nền tảng nghiên cứu microstructure thị trường toàn diện. Với khả năng tích hợp mô phỏng luồng lệnh, replay dữ liệu thực tế và phân tích thống kê sâu cùng dashboard hóa 3D trực quan, dự án mang lại trải nghiệm gần như một phòng thí nghiệm tài chính thực sự. Đặc biệt, việc tái tạo các hiện tượng thị trường như fat tails, volatility clustering và square-root law của Kyle’s lambda cho thấy sự kết hợp chặt chẽ giữa lý thuyết kinh tế và thực thi kỹ thuật.


#CLOB #MatchingEngine #MarketMicrostructure #CPlusPlus20 #QuantitativeFinance #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
AsthaMishra/matching-engine

From-scratch limit order book + matching engine in Rust. ~100 ns book ops replaying 104M operations from real NASDAQ ITCH 5.0 data; 143-fill sweeps in 2 µs. Binary OUCH order entry, 10 µs order-to-ack.

50
Aug 14, 2026
RepositoryC++
Fincept-Corporation/FinceptTerminal

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

34.5k
Nov 19, 2026
RepositoryC++
chronoxor/CppTrader

High performance components for building Trading Platform such as ultra fast matching engine, order book processor

1.1k
Nov 5, 2026
RepositoryPython
openbq-org/OpenBB

Open Data Platform for analysts, quants and AI agents.

76.0k
Nov 29, 2026
RepositoryPython
microsoft/qlib

Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

50.7k
Nov 4, 2026
RepositoryPython
wilsonfreitas/awesome-quant

A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

31.0k
Nov 29, 2026
RepositoryPython
OpenByteInc/QuantDinger

The most complete open-source, self-hosted Agentic Trading OS—AI research, Python strategies, factor discovery, backtesting, optimization, paper/live multi-asset execution, risk controls, monitoring, MCP, and multi-tenant SaaS in one auditable stack.

14.1k
Nov 30, 2026
RepositoryCython
TA-Lib/ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).

12.4k
Nov 28, 2026
RepositoryPython
The-Swarm-Corporation/AutoHedge

Build your autonomous hedge fund in minutes. AutoHedge harnesses the power of swarm intelligence and AI agents to automate market analysis, risk management, and trade execution.

6.8k
May 11, 2026