Skip to content

zombie-einstein/bourse

Repository files navigation

Bourse

Rust market-simulator with a Python API

Python

Full documentation can be found here.

Getting Started

Bourse can be installed via pip

pip install bourse

Examples

See here for simulation examples and the docs for an annotated example.

Rust

Getting Started

The library consists of two core crates:

  • bourse-book a library implementing a limit order book. Full documentation can be found here.

  • bourse-de a discrete-event market simulation library. Full documentation can be found here

Both can be installed using cargo

cargo add bourse-book bourse-de

Examples

Examples can be found in the relevant crates order book and simulation.

Examples can be run via cargo using

cargo run --example ...

Contributing

Bourse is in active development. If you notice a problem or have a feature suggestion please open an issue.

Contributions are very welcome, see here for development notes.