Skip to main content

Simulate market and limit orders.

Project description

lobby

A limit order book system written in Python. lobby is forked from PyLOB and all changes are also licensed as MIT. Updated to install with pip and work with Python 3.

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

It is written in Python, single-threaded and opperates 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.

Install

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.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

lobby-0.1.2-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file lobby-0.1.2.tar.gz.

File metadata

  • Download URL: lobby-0.1.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for lobby-0.1.2.tar.gz
Algorithm Hash digest
SHA256 001358b1ff41927cb001e3b8cbfb729bac87346fb76e3310c425d07753c99aea
MD5 92254cbcc855a69e9fe6c2f1013d2f67
BLAKE2b-256 0a15716e9fbd9268e7a8844ee8a730c025d09ca47fafcda1bbebfd479a70c288

See more details on using hashes here.

File details

Details for the file lobby-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: lobby-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for lobby-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c56503e06b95673ed6af41fbe06f46be616839540dccd2dfb079cc60da0702b
MD5 18e80927c5ad89a2a3bf47b35ca7b9d8
BLAKE2b-256 d4870afb405e0a7025316e0890d29967709b46593743ad30301be6a3eb7f5cc9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page