skillenza-com / MishMash-India-2020

MishMash hackathon is India’s largest online diversity hackathon. The focus will be to give you, regardless of your background, gender, sexual orientation, ethnicity, age, skill sets and viewpoints, an opportunity to showcase your talent. The Hackathon is Live from 6:00 PM, 23rd March to 11:55 PM, 1st April, 2020
2 stars 12 forks source link

genericexchange - national-simulated-exchange - fintech #112

Open imnotaqtpie opened 4 years ago

imnotaqtpie commented 4 years ago

ℹ️ Project information

Project Name: National-Simulated-Exchange

Description: An open source model exchange that allows for a deeper understanding of how the market works and test trading strategies.

Team Name: genericexchange

Team Members:

Demo Link: https://drive.google.com/open?id=1MVjDgno8UiQ59l_GJSHjTyMEPw2h8-GX

Repository Link: https://github.com/imnotaqtpie/National-Simulated-Exchange

Presentation Link: https://docs.google.com/presentation/d/1lYVi07FpeBCbo6w6UkEuOPLHyOpHsf9pwDSydnN65MU/edit?usp=sharing

Azure Services Used:

🔥 Your Pitch

National Simulated Exchange is a model stock exchange built using Python.

Why National Simulated Exchange? The project started out simple. All we wanted was some high frequency data that we could use to study the workings of an exchange. What we thought would be the simplest task, ended up being the hardest. In an age where most sectors are moving towards making data free and more easily accessible, computational finance is moving in the opposite direction. When we couldn't get access to freely available data from any exchange, we decided to build one.

The project’s motive is to gain a profound understanding of an exchange (eg : NSE, BSE, NYSE ). When a player sends an order to the exchange, there are various behind-the-scenes happening within the exchange. To gain insights of those workings, mimicking those working seemed a best way to learn.

How ? Currently, the exchange allows players to send out limit orders that, if accepted, get placed in an order book. An order book has a bid side and an ask side. A trade occurs when a match occurs at the top level. Interest in a stock will see people competing to buy the stock, leading to higher and higher bids, hence, higher and higher trade prices, while the inverse is also true.

All traders are initialised with 10,000 credit points, which can be used for trading. The Limit Orders are matched based on Price/Time algorithm. The current market price of a stock is decided based on the last traded price of the stock, which determines the price movements. The information regarding the stock price (for every tick) is broadcasted to all the traders connected to the exchange.

🔦 Any other specific thing you want to highlight?

Of course, being a model exchange comes with it's disadvantages. The primary issue being that to generate a usable amount of data, a large population of players is required. To enable that, future work will include hosting this on the internet for players from around the world to trade. Secondly, we intend to add options and futures market to the exchange in addition to the stock market.

Another future idea that will be pursued is the possibility of making the exchange decentralized. While in currently just an idea, it seems to have immense potential.

✅ Checklist

Before you post the issue: