Requirements - Yuting-H/Stock-Trading-Sim GitHub Wiki

Requirements

Functional Requirements

  • User should be able to create their profile and log into the app

  • User should be able to make buy and sell orders

  • Stock orders should be displayed for each stock

  • User should be able to receive some currency daily so they can make trades

  • Currency should also be removed from the market by some mechanism

  • Each stock should have buy and sell orders at all time (acheived through NPC orders)

  • Admins (Server Administrators) should be able to create stocks

  • Admins should be able to blacklist or remove player profiles

  • Admins should be able to create and remove NPC sell orders

Non-functional Requirements

  • Front end UI should fit for desktop enviroments (mobile to be considered later)

  • Each stock should have their own page which displays a line chart

  • Each stock page should list the stocks buy and sell orders ordered by price

  • Creating a new stock can be done without modifying the code

  • Managing users can be done without modifying the code

  • Managing NPC orders can be done to do without modifying the code

  • Total amount of data store in the database must not exceed 1GB