Socket
Socket
Sign inDemoInstall

bourse

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bourse

Python API for a Rust stock market simulation library


Maintainers
1

Readme

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

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc