Metadata-Version: 2.1
Name: bourse
Version: 0.1.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: tqdm >=4.66.2
Requires-Dist: pandas >=2.2.0
License-File: LICENSE
Summary: Python API for a Rust stock market simulation library
Keywords: finance,agent-based modelling,simulation,reinforcement-learning
Author-email: zombie-einstein <zombie-einstein@proton.me>
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source, https://github.com/zombie-einstein/bourse

# Bourse

Rust market-simulator with Python API

## Python

### Getting Started

Bourse can be installed via pip

```
pip install bourse
```

### Examples

See [here](examples/) for simulation examples.

## Rust

### Getting Started

The library consists of two core
crates:

- `bourse-book` an library implementing an market order book
- `bourse-de` a discrete-event market simulation library

Both can be installed using cargo

```
cargo add bourse-book bourse-de
```

### Examples

Examples can be found in the relevant crates
[order book](crates/order_book/examples/) and
[simulation](crates/step_sim/examples/).

Examples can be run via cargo using

```
cargo run --example ...
```

