Skip to main content

Simulate market and limit orders.

Project description


Test And Publish PyPI version

lobby is a fully functioning simulation of a limit-order-book financial exchange, developed for modeling. The aim is to allow exploration of automated trading strategies that deal with "Level 2" market data.

It is written for Python 2.7-3+, is single-threaded and operates a standard price-time-priority. It supports both market and limit orders, as well as add, cancel and update functionality. The model is based on few simplifying assumptions, chief of which is zero latency: if a trader issues a new quote, that gets processed by the exchange, all other traders can react to it before any other quote is issued.

lobby is forked from PyLOB and all changes are also licensed as MIT. Updated to install with pip and work with Python 3.


lobby uses only the standard library and can be installed from PyPi:

pip install lobby

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lobby-0.1.3.tar.gz (15.0 kB view hashes)

Uploaded source

Built Distribution

lobby-0.1.3-py3-none-any.whl (17.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page