You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

bourse

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bourse

Python API for a Rust stock market simulation library

0.4.0
pipPyPI
Maintainers
1

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 ...

Keywords

finance

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts