This project was made for an event in our technical fest.This project was used as trading platform in an event which was simulation of the stock market.Participants could register and trade with their mobile.Server was hostel on college LAN.The event had four rounds and stock prices would change as per the trading in previous round.Also videoes were shown in between the rounds which simulated an event that would influence the market.More than 300 participants from all over the country participated in this event.
- Python 2.7
- Django 1.10
-
Stock data present in SMS_2017/stock_data.csv
-
Run
python3 manage.py createsuperuser
to have admin access. -
Before running server perform these actions
a)
python manage.py flush
b)python initialscript.py
- important as this script populates the model as well as creates initial objects,assigns initial values
-
to change round, enable/disable trade - go to admin panel @ /main/admin_control
- note that you should have logged in django admin to view this page
-
while changing price after completion of round follow this order:
a) set trade_enable to false
b) then change round
c) then setprice
d) set trade_enable to true