Software Requirement Specification
Software Requirement Specification
1. Introduction
‘Customized portal for stock investor’ is a useful portal for the small stock investors. User can
make their account. Reports can be generated on user demand. Overall market statistics can be
viewed.
1.1 Purpose
1.1.1 Problem Statement
Nowadays there is a lot of competition in market for investors and businessmen but when it comes to face
difficulties small investors are among the most affected. As they are not well aware of the prices of stock,
market rates, competitors, profit/loss chance, highest bidders, lowest bidders, new investment opportunities
etc. This causes them to lose their money without any backup plan.
We are going to introduce the “Customized Portal for Stock Investor” which can help small investors
with their difficulties and help them invest their money after judging the market according to the
opportunities. This portal will allow them to view current market rates, profit, loss, competitors, stock
etc.
1.2 Scope
Customized investment portal will provide small investors a variety of options. They can cope with
their difficulties of inexperience as this system will provide them a platform to view and analyze
market rates and do investments accordingly. Static data from stock markets shall be provided through
which small investors can judge market situation and can know about their competitors. They can
track the market prices, stock prices, availability and unavailability of stocks, profit/loss chances can
be guessed as all the market related activities shall be shown to them. High market value stocks and
company with high shares in the market are to be displaced in the top. Profit shall be shown as green
arrow pointing upwards while loss shall be shown as red arrow pointing downwards. Data shall be
manipulated as new investors come in the market and effect the stock rates and market prices.
Investors shall be successful in investing their money with confidence. Investments shall be done
manually according to investor’s interest.
1.2.1 Modules
1.2.1.1 Admin Panel
Admin is only required for maintaining the system as following.
Remove company
Once the company is shut down, removed from the PSX admin can remove it from the listed
company.
Software Requirements Specification for CPSI Page 2
Update data
Admin can update data on regular basis from the PSX which shall be in raw form initially
i.e. .lis files.
Account Management
All the management related to a user profile shall be handled.
Update profile
The user will update the personal details & their investments
Reports
Generate Report
All the reports related to a particular user shall be generated i.e. daily, weekly,
monthly, quarterly, bi-annually, annually.
Print Report
User can print a specific report directly from the system.
Save Report
User can save a particular report in their account.
Download Report
User can download any report which is saved previously in the system or is
generated.
Delete Report
User can delete any report saved in the system.
View Report
Software Requirements Specification for CPSI Page 3
User can view a particular report from different reports in the system.
Sign Up
Guest can sign up whenever needed
2. Use Case(s)
2.1.2 Admin
Software Requirements Specification for CPSI Page 5
Software Requirements Specification for CPSI Page 6
2.1.3 User
Software Requirements Specification for CPSI Page 7
Exceptions:
2a Format not supported e.g. other than .lis file
1. Admin is prompted to select the file again
Includes: UC-02
Assumptions: N/A
Notes and Only one file can be uploaded at a time.
Issues:
Alternative N/A
Flows:
Exceptions:
Exceptions: N/A
Includes: UC-02
Assumptions: The company shut down its operations and is no longer trading its
stocks in the market.
Notes and N/A
Issues:
Includes: UC-02
Assumptions: N/A
Notes and N/A
Issues:
Description: The user will search for a particular company from a list of companies.
Trigger: User clicks on the ‘search company’ button
Preconditions: User must be signed in.
Post conditions: The particular company is found and it is shown to the user.
Normal Flow: 1. The user clicks on the search button.
2. A search box is displayed.
3. The user enters the company name and press enter.
4. The company is shown.
Alternative N/A
Flows:
Exceptions: 3a,
3a The company name is not found.
1. The user is prompted that the company is not in the list.
2. The user is asked to reenter the company name.
Use case resumes to the step 3 of the alternative flow.
Includes: UC-02
Special N/A
Requirements:
Assumptions: N/A
Notes and N/A
Issues:
Assumptions: N/A
Notes and N/A
Issues:
Exceptions: N/A
Includes: UC-02
Assumptions: N/A
Notes and N/A
Issues:
Includes: UC-02
Assumptions:
Notes and N/A
Issues:
Includes: UC-02
Assumptions:
Notes and N/A
Issues:
Includes: UC-02
Assumptions:
Software Requirements Specification for CPSI Page 19
Includes: UC-02
Assumptions:
Notes and N/A
Issues:
Includes: UC-02
Assumptions:
Notes and N/A
Issues:
.
Use Case UC-17
ID:
Use Case Generate Annually Report
Name:
Actors: User
Description: Annually report shall be generated according to the market proceeding.
Trigger: User clicks the ‘generate annually report’ button.
Preconditions: User must be signed in.
A time frame of 12 months must be passed since the last report has
been generated.
Post conditions: A report in shall be generated.
Normal Flow: 1. The user opens his profile.
2. The user opens his dashboard
3. The user clicks the Reports tab.
4. The user clicks the annually Report button.
5. A report shall be generated.
Software Requirements Specification for CPSI Page 21
Alternative N/A
Flows:
Includes: N/A
Assumptions: N/A
Notes and N/A
Issues:
Post conditions: The report shall be saved in the profile of the user.
Normal Flow: 1. The user opens his profile.
2. The user opens his dashboard.
3. The user clicks the Reports tab.
4. The user clicks to generate any type of report.
5. The report is generated
6. The user clicks the ‘Save Report’ button.
7. The report shall be saved in the user profile.
Alternative N/A
Flows:
Exceptions: N/A
Exceptions: N/A
Exceptions: N/A
Alternative
Flows:
6a. User selects the company from the list.
1. User selects the particular company.
2. User clicks the add button.
3. The company is added to the form
Use case resume on step 7 of the normal flow.
Includes: N/A
Assumptions:
Notes and N/A
Issues:
Software Requirements Specification for CPSI Page 26
3. Specific Requirements
3.1 Functionality
3.1.1 Add new company
Identifier FR-01
Title Add new company
Requirement The admin shall be able to add a new company in the system which shall
be present in the PSX.
Source Supervisor
Rationale Keeping the company updated.
Restrictions and Risk The admin cannot add a duplicate company.
Dependencies FR-02
Priority High
Identifier FR-02
Title Remove company
Requirement The admin shall be able to remove a company from the system which is
shut down.
Source Supervisor
Rationale Keeping the company updated.
Restrictions and Risk The admin may remove active company.
Dependencies N/A
Priority High
Identifier FR -03
Title Update data
Requirement The admin shall be able to update data on daily basis with the help of .lis
files taken from PSX website.
Source Supervisor
Rationale Keeping the overall system up to date.
Restrictions and Risk Format of the files to be uploaded should be .lis.
Dependencies N/A
Priority High
Identifier FR -04
Title Generate daily report
Requirement The admin/user shall be able to generate daily report according to market
statistics.
Source Supervisor
Rationale To help guests analyze the market.
Software Requirements Specification for CPSI Page 27
Restrictions and Risk 24 hours should pass before generating new report.
Dependencies N/A
Priority High
3.1.5 Sign in
Identifier FR -05
Title Sign in
Requirement User shall sign in before using the system.
Source Supervisor
Rationale To help users login to system.
Restrictions and Risk User shall press ‘sign in’ to perform the action.
Dependencies FR-08
Priority High
Identifier FR -06
Title Insert username
Requirement User shall insert username in the specified box.
Source Supervisor
Rationale To help users login to system.
Restrictions and Risk User shall click the specified box to perform the action.
Dependencies FR-07
Priority High
Identifier FR -07
Title Insert password
Requirement User shall insert password in the specified box.
Source Supervisor
Rationale To help users login to system.
Restrictions and Risk User shall click the specified box to perform the action.
Dependencies FR-05
Priority High
Identifier FR -08
Title Sign out
Requirement User can log out from the system
Source Supervisor
Rationale To help users log out from the system.
Restrictions and Risk User shall press ‘sign out’ to perform the action.
Dependencies N/A
Priority Low
Software Requirements Specification for CPSI Page 28
Identifier FR -09
Title Update profile
Requirement User shall be able to update the profile.
Source Supervisor
Rationale To help users keep their accounts updated
Restrictions and Risk Wrong input while updating
Dependencies N/A
Priority High
Identifier FR -10
Title Search company
Requirement User shall be able to search company from list of companies
Source Supervisor
Rationale To help users analyze the company statistics.
Restrictions and Risk Search result not found.
Dependencies N/A
Priority High
Identifier FR -11
Title Add company to profile
Requirement User shall be able to add a new company to profile dashboard.
Source Supervisor
Rationale To help users manage the company.
Restrictions and Risk Company already exists.
Dependencies N/A
Priority High
Identifier FR -12
Title Remove company from profile
Requirement User shall be able to add a new company to profile dashboard.
Source Supervisor
Rationale To help users manage the company.
Restrictions and Risk Active company is removed.
Dependencies FR-11
Priority High
Identifier FR -13
Title View personal investments
Software Requirements Specification for CPSI Page 29
Requirement User shall be able to view all the investments done up till now.
Source Supervisor
Rationale To help users manage the investments.
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -14
Title Generate warning message
Requirement System shall generate warning message when wrong data is inserted or
field is left empty.
Source Supervisor
Rationale To help users identify their mistakes and use system correctly.
Restrictions and Risk N/A
Dependencies N/A
Priority Medium
3.1.15 Sign up
Identifier FR -15
Title Sign up
Requirement Guest shall be able to sign up before using full functionality of the system
Source Supervisor
Rationale To help guest become registered user
Restrictions and Risk N/A
Dependencies FR-05
Priority High
Identifier FR -16
Title Generate weekly report
Requirement User shall be able to generate weekly report according to market
proceedings.
Source Supervisor
Rationale To help users know the market statistics
Restrictions and Risk N/A
Dependencies FR-21
Priority High
Identifier FR -17
Title Generate monthly report
Requirement User shall be able to generate monthly report according to market
proceedings.
Software Requirements Specification for CPSI Page 30
Source Supervisor
Rationale To help users know the market statistics
Restrictions and Risk N/A
Dependencies FR-21
Priority High
Identifier FR -18
Title Generate quarterly report
Requirement User shall be able to generate quarterly report according to market
proceedings.
Source Supervisor
Rationale To help users know the market statistics
Restrictions and Risk N/A
Dependencies FR-21
Priority High
Identifier FR -19
Title Generate bi-annually report
Requirement User shall be able to generate bi-annually report according to market
proceedings.
Source Supervisor
Rationale To help users know the market statistics
Restrictions and Risk N/A
Dependencies FR-21
Priority High
Identifier FR -20
Title Generate annually report
Requirement User shall be able to generate annually report according to market
proceedings.
Source Supervisor
Rationale To help users know the market statistics
Restrictions and Risk N/A
Dependencies FR-21
Priority High
Identifier FR -21
Title Save report
Requirement User shall be able to save generated report.
Source Supervisor
Software Requirements Specification for CPSI Page 31
Identifier FR -22
Title Print report
Requirement User shall be able to print generated report.
Source Supervisor
Rationale To help users know the market statistics.
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -23
Title Download report
Requirement User shall be able to download generated report.
Source Supervisor
Rationale To help users know the market statistics.
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -24
Title Delete report
Requirement User shall be able to delete generated report.
Source Supervisor
Rationale To help users know the market statistics.
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -25
Title View report
Requirement User/Guest shall be able to view generated report.
Source Supervisor
Rationale To help users/guests know the market statistics.
Restrictions and Risk N/A
Software Requirements Specification for CPSI Page 32
Identifier FR -26
Title Add invested stocks
Requirement User shall be able to add the information about the stocks that they have
invested in the particular company.
Source Supervisor
Rationale To help users add stocks information in the profile
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -27
Title Confirmation dialogue box
Requirement System shall ask user again before performing ‘Delete’ action.
Source Supervisor
Rationale To help user consider the action once again.
Restrictions and Risk N/A
Dependencies N/A
Priority High
Identifier FR -28
Title Validate Username
Requirement System shall check the username entered by user have no matching entry
in database.
Source Supervisor
Rationale In order to create single account against one Username (email).
Restrictions and Risk N/A
Dependencies FR-5, FR-15
Priority High
Identifier FR -29
Title Authenticate User
Requirement System shall check the username and password entered by user have no
matching entry in database.
Source Supervisor
Rationale In order to restrict unauthorized users to login to the system.
Software Requirements Specification for CPSI Page 33
Identifier FR -30
Title Validate Password
Requirement System shall check the password entered by user matching entry in
database.
Source Supervisor
Rationale In order to authenticate user
Restrictions and Risk N/A
Dependencies FR-5
Priority High
Identifier NFR1
Title Usability 1
Requirement Because of user friendly interfaces, the user who had already used PSX
shall be able to learn all the functionalities of the system within 10 to 15
minutes of training. While lay user should take 30 minutes of training to
understand the basics of CPSI.
Identifier NFR2
Title Usability 2
Requirement Interface of the system will provide proper help and will maintain
consistency throughout the interface.
Identifier NFR3
Title Usability 3
Requirement Color scheme for the interfaces should be simple and attractive.
3.2.2 Reliability
Identifier NFR1
Title Reliability 1
Requirement System should fulfill 98 out of 100 requests.
Identifier NFR2
Title Reliability 2
Requirement Maximum down time of system shall not be more than 5 minutes per day.
Software Requirements Specification for CPSI Page 34
3.2.3 Performance
Identifier NFR1
Title Performance 1
Requirement Average time to upload data file which will be of same size shall be 10 to
15 seconds depending on the internet connection.
Identifier NFR2
Title Performance 2
Requirement Average time to generate a daily report should be 5 seconds.
Average time to generate a weekly report should be 10 seconds.
Average time to generate a monthly report should be 15 seconds.
Average time to generate a quarterly report should be 20 seconds.
Average time to generate a bi-annually report should be 25 seconds
Average time to generate a annually report should be 30 seconds.
Identifier NFR3
Title Performance 3
Requirement Average time to open a saved report should be maximum 2 to 3 seconds.
4. User Interfaces
Software Requirements Specification for CPSI Page 35
Home
Software Requirements Specification for CPSI Page 36
Profile
Software Requirements Specification for CPSI Page 37
Sector Overview
Software Requirements Specification for CPSI Page 38