Skip to content

manogyasingh/StonkExchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Stock Exchange

A very simple stock market simulation.

User Dashboard

Screenshot From 2025-01-11 02-03-08 for Current Price and Mkt Cap of everything being traded

Screenshot From 2025-01-11 02-03-55 The Orderbook System

Screenshot From 2025-01-11 02-05-30 Screenshot From 2025-01-11 02-05-36 Linechart visualisations of commodity prices over time.

Admin Panel

Screenshot From 2025-01-11 02-01-59 A unified dashboard for everything

Screenshot From 2025-01-11 02-02-46 You can simulate IPOs by alotting issuing new stocks and alotting a set amount of stocks to any user.

How It Works

The system maintains an order book with two sides:

  • Bids: Buy orders sorted by price (highest first)
  • Asks: Sell orders sorted by price (lowest first) And then we match them. In the words of a certain cartoon character, "Take what they give you, give away what you have to, and the difference is yours."

How to run

git clone https://github.com/manogyasingh/StonkExchange
cd StonkExchange
pip install -r requirements.txt
python app.py

Then just go to 127.0.0.1:5001 The admin credentials are user: admin, password: adminpass For other things just create an account

About

A very simple automatic stock exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published