Skip to main content

Stock exchange with a matching engine and webserver

Project description

chives-exchange

Simulated stock exchange

Run RabbitMQ with a single MatchingEngine

First, run the RabbitMQ container:

docker run -d --rm \
    --name "rabbitmq" \
    -p 5672:5672 \
    -p 15672:15672 \
    rabbitmq:3-management

Second, initialize database structure and run matching engine:

python -m chives initdb
python -m chives start_engine

Finally, run the test script to see if the system works:

python scratch.py

Run the flask application:

python -m chives webserver

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

chives-exchange-0.1.0.tar.gz (27.4 kB view hashes)

Uploaded Source

Built Distribution

chives_exchange-0.1.0-py3-none-any.whl (37.9 kB view hashes)

Uploaded Python 3

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