Skip to content

microbook

A price-time priority matching engine and an event-driven market simulator for studying liquidity provision, execution quality and adverse selection, in pure Python with no runtime dependencies.

pip install microstructure-sim            # the import name is microbook

Every Python snippet on this site runs in CI, and the output shown under it is the output it prints.