Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Market Microstructure Python Packages

Python packages with the GitHub topic market-microstructure. Sorted by monthly downloads, with stars and forks.
aperiodic-io
aperiodic

Python SDK for Aperiodic: point-in-time crypto microstructure, liquidity and order-flow metrics as parquet.

9K 0 0
wickra-lib
wickra-impact

The backtester that knows you would have moved the market: agent-based fills on the real historical L2 order book.

4K 2 0
ArkaKhorchidian
fastitch

Fast NASDAQ TotalView-ITCH 5.0 parser for Python: raw feed to Polars, pandas, Arrow or Parquet, plus order-book reconstruction

3K 2 0
hossainyousuf751
lobkit

Limit order book reconstruction, order-flow analytics and market-making simulation, validated on a simulator and run on live Binance/Bybit data

2K 1 0
Taz33m
tracebook-conformance

Matching-engine conformance testing, reproducible failure reduction, and honest local benchmarks

2K 4 1
huuan26
polars-anta

Quantitative finance & alpha research in Polars: technical & microstructure features, risk neutralization, multiple-testing checks, portfolio optimization, and backtesting.

2K 34 10
twowaymind
orderflow-metrics

Microstructure order-flow metrics — Order Flow Imbalance (OFI), depth and trade imbalance. Dependency-free TypeScript.

2K 15 3
Taz33m
tracebook-sim

Compatibility facade for Tracebook simulation, replay, profiling, and visualization tools

2K 4 1
michiTrader
tradetropy

Open-source algorithmic trading framework: backtesting, live trading (CCXT Pro + MT5), replay/paper, order flow and footprint, pattern DSL, Monte Carlo robustness and interactive plotting.

2K 2 0
martianmobile
backtest2live

Check a backtest against what live execution would do. Convergence, fill-gap (resting orders vs a queue proxy) and cost-gap (taker orders vs the real book), run locally on your own files and public data. Python CLI (bt2live) + Claude Code plugin.

2K 3 0
groovg
itch-book

NASDAQ TotalView-ITCH 5.0 parser and order book: header-only C++23 core, pip install itch-book for BBO, trades, order-by-order and depth Parquet tables

1K 3 2
kamakuraquantlab
kamakuraquantlab-hase

暗号資産市場の板・約定データを使った指標計算・可視化・検証のための Python 分析ツール。

1K 0 0
Kautenja
limit-order-book

A header-only C++ limit order book with price-time priority matching, a C API, and Python bindings.

1K 315 72
YichengYang-Ethan
oracle3

Oracle3: open-source trading engine and MCP server for prediction markets. Finds fee-adjusted no-arbitrage violations across related event contracts and trades them live on Kalshi, Polymarket and Solana, or on paper, under pre-trade risk limits. 13 MCP tools, JSON CLI, agent skills, 600+ tests.

1K 574 69
cpoli
financialkit

Quantitative-finance toolkit for learning and teaching: options, fixed income, rates, credit, Monte Carlo, PDE, stochastic volatility, risk, portfolios -- built on numpy/scipy.

986 1 0
hossainyousuf751
quantstack-lab

A connected quantitative finance research stack: structured product pricing, volatility surfaces, honest backtesting, market microstructure and risk, linked into end-to-end studies.

867 0 0
sarptandoven
queuetruth

Fill-realism and queue-truth kit: exact order-level replay, an L2 queue-model zoo measured against exact truth, calibration, a learned fill model and a sim-vs-live scorer.

651 1 1
tradingexpert
ordersim

Inspectable execution simulator for order-book replay and latency-aware fill simulation

612 4 0
damraka
cleolob

Reproducible limit-order-book execution research laboratory

539 4 1
starlingquant
edgar-pit-clock

Zero-dependency point-in-time SEC EDGAR acceptanceDateTime to NYSE trading-session router, One-Document-One-Witness normalizer & Purged Walk-Forward splitter.

476 0 0
DaniyalMlk
slippage-tca

An optimal execution and transaction cost analysis engine: implementation shortfall decomposition, market impact calibration, and Almgren-Chriss trajectories.

473 0 0
quantfinlib
quantfinlib

Fundamental package for quantitative finance with Python.

326 6 1
bmouler
bar-forge

Activity-based market data bars and strictly causal normalisation transforms.

247 0 0
jialuechen
pytca

Algo Library for Order Flow Inference and TCA

220 139 10
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology