Professional Documents
Culture Documents
Page 1
Certificate of Recommendation
This is to certify that RIYA KAYAL and RIMA SAMANTA have completed their project work titled Minor project on: ONLINE SHARE TRADING, under the direct supervision and guidance of Prof. SANJOY BARMAN RAY. I am satisfied with their work, which is being presented for the partial fulfillment of the degree of Master of Computer Application (MCA), West Bengal University of technology (WBUT), Kolkata 700032.
SANJOY BARMAN RAY Asst. Prof. of MCA Dept. (Teacher in charge of Project) Date:
Date:
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 2
Page 3
Page 4
Acknowledgement
We are very grateful to our Principal DR. A. H. ANSARI for providing us with an environment to complete our project successfully. We are deeply indebted to our Head of the Department Mr. NIRUPAM BARMAN, who modeled us both technically and morally for achieving success in project. We are very grateful to our internal guide and Project coordinator Mr. SANJOY BARMAN RAY, for supervising the project and for his valuable advice and help with the books and reference materials. Heartfelt thanks are also conveyed to all the members of the teaching and nonteaching staff of the Department of MCA for their cordial support and help, whenever needed. Finally, we take this opportunity to extend our deep appreciation to our family and friends, for all that they meant to us during the crucial times of the completion of our project.
Date: 28.11.2011
Page 5
Page 6
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. Objective and Scope of the Project -------------------------------- -------7 Theoretical Background --------------------------------------------- -------3 - 5 Definition of Problem ------------------------------------------------ -------9 System Analysis and Design ---------------------------------------- -------10 - 13 System Planning (PERT Chart) ------------------------------------ -------14 - 13 Methodology Adopted and System Implementation ------------ -------16 - 17 Details of Hardware and Software Used -------------------------- -------18 - 19 System Maintenance and Evaluation ------------------------------ -------20 - 22 Cost Benefit Analysis------------------------------------------------- -------23 - 24 Detailed life Cycle of the Project ---------------------------------- -------22 - 28 Input Output Screen Design ---------------------------------------- -------29 - 67 Methodology used for Testing ------------------------------------- -------68 - 71 Testing Report -------------------------------------------------------- -------72 - 79 Source Code of Project ---------------------------------------------- -------80 - 174 User Manual ----------------------------------------------------------- -------175- 178 Brief background of the Organization------------------------ ----------179 - 180 Data Dictionary------------------------------------------------------------181 - 184 Reference-------------------------------------------------------------------185 - 186
Page 7
Handling inquiries from prospective clients Handling the registration process Enrolling new clients Automatically creating ups and downs of the share price Handling records of buying, selling, balance , price of share Maintaining records of ups and downs of share price Recording broker client agreement data
This Online Share Trading Software solved all the problems like selling, buying, official procedure of client account balance calculation and trading information of a client. This software solved all the problems for share trading companies like R&R Share Trading Co. These make very easy and time saving for any share trading company.
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 8
Page 9
DEFINITION OF PROBLEM
We all live in this world with our expectations. Expectations are never ending and that of to get more and more of what we have now. Now a day it is very difficult to maintain any work without computer and internet. Any trading software is maintained now by internet like Online Share Trading Software.
At the same time it must bring all the facilities to a client and broker. This online share trading software makes for R&R Share Trading Co. It brings client registration, client data modification, searching and trading facilities for an administrative user (broker) and showing the details of share price, assumptions of future ups and downs of a share and the trading details of a client. Since this is not connected to the server it will not show the actual ups and downs of the price of a share.
Online Share Trading Software did this for users. The main problem of combining these facilities is done very well in this site. But there was another very essential issue that might cause problem to users. Security is one of the key aspects in any website. Data that user wants to keep only to himself, must not be reachable to others. It is specifically essential in respect to login credentials. To deal with such key aspects was not easy at all. User sessions must be maintained deficiently. Database handling is also a very important issue as the number of users and there data are generally very high and they increase rapidly day-by-day. So the system must be flexible, and database must be independent of any changes in system design. Mainly student information system software deals with a lot of complexity probably the highest among all kinds of websites or systems.
Page 10
These applications run the gamut of everything businesses do, including transmitting orders and payments to suppliers, fulfilling orders and collecting payments from customers, maintaining business relationships, and establishing electronic marketplaces where businesses can shop online for the best deals on resources they need for assembling their products and services. Although the Internet seems to pervade business these days, it is important to remember that many of the key aspects of business-offering product or service for sale, collecting payment, paying employees, maintaining supplier and client relationships have not changed in the Internet age.
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 11
An important result of system analysis and design is application software. The total information system includes the hardware and systems software on which the application software run, documentation, and training materials, the specific job roles associated with the overall system, controls, and the people who use the software along with their work methods. In the early years of computing; analysis and design was considered an art. Now that the need for systems and software has become so great, people in industry and academia have developed work methods that make analysis and design a disciplined process. Our goal is to help to develop the knowledge and skills needed to understand and follow such software processes.
There are many ways of gathering information of system requirements. Some of the main and traditional techniques of system analysis are listed below. Individual or group interview with diverse needs. Observe workers at selected times. Study business documents. Joint Application Design (JAD). Using group support system to facilitate the sharing of ideas. Using CASE tools to analyze current systems to discover requirements. Iteratively developing system prototypes that refine the understanding of system requirements. Continual user involvement by site visit and other ways. Identifying processes to reengineering the system.
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 12
System design is to plan a solution to the specified problem in the requirement document and is the first step in moving from the problem domain to solution domain. In other words starting with 'what' is needed in the requirement analysis step, now design takes us towards the 'how' episode of the requirement specification. The design of the system is perhaps the most critical factor affecting the quality and hence the reliability of the software to match the user needs. The input of the phase is theses obtained in the previous phase and the output is the 'design document' which is similar to blueprint / plan for the solution and used in the later phase of the development. The design (using leveled DFDs) of the proposed software system has been presented in later on of the project report.
The design phase focuses on the detailed implementation of the system recommended in the feasibility study. Emphasis is on translating performance specifications into design specifications. The design phase is a transition from a user-oriented document to a document oriented to the programmers or data base personnel.
A design methodology is systematic approach to create a design by application of a set of technology and guidelines. The design activities can. be divided into parts based upon the details of the exploration and is as follows: a) System design b) Detailed design System design goes through two phases of development: Logical design and Physical design: When analysts prepare the logical system design, they specify the user needs at a level of detail that virtually
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 13
Detailed design of the internal logic of the each module is specified. Implementation of the component is described. Coding phases affects both testing and maintained profoundly. Well-written code can rescue the testing and maintenance. Simplicity and clarity is flowed in writing the code.
As far as the requirements of Share Trading system for R&R Share Trading Co., is concerned, we collected them by continuously visiting many popular Share trading software and websites. They helped us to a great extent to collect all necessary information about a Share Trading site. Client Registration, Searching, Entry, Daily Trading, Update, Delete, Assumption on next day share prices are the facilities of this software. So it becomes another very essential requirement of Online Share Trading Software. Buying and Selling of a share is another dicey issue as every share trading software follows it. We get this idea from SHAREKHAN website. The most important requirement of a system is its data security. Many items in Share Trading software is made customized in respect to access. That scenario must not be broken. The password checking system activate for administrator as well as normal user in this software. All these feature make success of Online Share Trading Software for R&R Share Trading Co.
Page 14
For large projects, the dependencies among activities are important in order to determine which are critical activities, whose completion should not be delayed, and which activities are not critical. To represent the dependencies, PERT charts are often used. A PERT chart is a graph-based chart. It can be used to determine the activities that form the "Critical Path", which if delayed will cause the overall project to delay.
Here the total man-hour allotted for the project to be developed is 300 manhours approximately. If on an average, a man-day contains 5 man-hours then the whole project is to be developed within 60 man-days approximately. Here Saturdays, Sundays and other holidays are not taken in consideration to count the total man-days. The PERT chart is described as follows:
While developing PERT chart for Online Share Trading System for R&R Share Trading Co., We allot a maximum time of 100 man-hours for coding.
Page 15
50 hrs Designing
100 hrs
150 hrs
Coding
Documentation 20 hrs
Testing
200 hrs
Page 16
First of all the problem should be clearly defined. Then it is required to study the system thoroughly in order to make a clear and transparent conception of what there is in the already existing system and what is to be done to make it computerized. In this purpose, the techniques adopted are the requirement elicitation and requirement analysis.
The requirements are gathered by studying different documents and by interviewing the related and authorized persons formally and informally. After analyzing the requirements a Software Requirement Specification (SRS) is written and it is produced to the appropriate authority of the system to get it approved. After approval of the SRS the actual development work begins. The other facts arid fictions of the system are elicited in order to tune the requirement criteria.
Then the analysis models are developed to represent the system pictorially/ graphically. From these analysis models the system design is generated to represent the components, functions and behavior of the system. In this connection, DFD (Data Flow Diagram), Structure Chart, System Flow Chart etc are generated. Also the database is designed appropriately to make it compatible to the system. The front-end screens are first designed.
After conducting all the aforementioned procedures a user-manual is composed as a guide to the end-users. It includes security aspects, access rights, back up, controls etc. As the implementation starts, the system is launched as software. End users will use it as per need. If any problem arises, they can report it to developer team by mailing through "contact-us" section of the R&R.COM.
Page 18
Processor
Mother Board
: Intel DH55TC
Graphics Card
Primary Memory
: 2 GB
Secondary Storage
: 160 GB
Display Unit
: LG Color Monitor 22
Disk Drive
: LG DVD RW 52X
Page 19
Software Used:
Platform : Windows 7 SP III
Language Used
Database
: Oracle 11i
Web Server
: Glassfish V3 Domain
Browser
: Internet Explorer 8
Application Software
: Photoshop CS2
IDE
Page 20
. Correction:
Even with the best quality assurance activities, it is likely that the customer will uncover defects in the software. It is generally agreed for large systems as the current one. Maintenance activities related to fixing of errors fall under corrective maintenance. Here, in this case the end-users are advised to record
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 21
. Adaptation:
Maintenance is also needed due to a change in the environment or the requirements of a system. The introduction of a software system affects the work environment. This change in environment (e.g. CPU, Operating System, Business rules, external product characteristics) often changes what is desired from the system. Furthermore, often after the system is installed and the user have had a chance to work with it for some time, some of the needs that were not uncovered during requirement analysis, surface. This occurs since the experience with the software helps the user define the needs more precisely. There might also be changes in the input data, the system environment and output formats. All these require modification of the software. The maintenance activities related to such modifications fall under adaptive maintenance. It is advised to the end-users of the currently developed software to report appropriately to the developers about any environmental changes and about any change in the input-output requirements that would take place after the software would be used for a sufficient period of time.
. Enhancement:
As software is used, the customer/user will recognize additional functions that will provide benefit. Perfective maintenance or enhancement extends the software beyond its original functional requirements.
. Prevention:
Computer software deteriorates due to change and because of this, preventive maintenance, often called software reengineering, must be conducted to enable the software to serve the needs of its end-users. In essence, preventive maintenance makes changes to computer programs so that they can be more easily corrected, adapted and enhanced.
MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 22
Page 23
System costs are those which contribute to the cost of developing, implementing and operating a system. System benefits are those products or improvements which result from the system and which benefit the organization. Cost/benefit analysis is a procedure that gives a picture of the various costs, benefits and rules associated with a system. Costs are incurred throughout its life cycle. Benefits are realized in the form of reduced operating costs, improved corporate image, staff efficiency etc. To what extent benefits outweigh costs is the function of cost/benefit analysis.
The determination of costs and benefits entails the following steps: 1. Identify the costs and benefits pertaining to a given project. 2. Categorize the various costs and benefits for analysis. 3. Select a method of evaluation. 4. Interpret the results of the analysis. 5. Take action.
Page 24
Personnel Costs Equipment Costs Supplies and expense Costs Overhead Costs
As an educational level project, Online Share Trading has no economic benefits, but as I made it, its development cost is also nothing except the time that I spend in making it (220 man-hours). Never the less in future, I am aiming to launch this project as user friendly share trading software. As it will gradually be popular, I believe it will start giving revenue by means of advertisements. If I connect to the actual server of share trading and other business issues to it, then it will surely be one of the economic assets of mine.
Page 25
NORMAL USER
ADMINISTRATIVE USER
Page 26
Page 27
CLIENT
1
DETAILS
VERIFIED DATA
LOGIN MODULE
S2 (Client) Table
ADMINISTRATIVE USER
ADMIN USER
CLIENT INFO
VERIFIED DATA
ADMIN TABLE
TRADING DETAILS 2
TRADING DETAILS
Page 28
UPDATE MODULE
TDETAILS TABLE
REQUEST
DELETE DATA
1.2
DELETE MODULE
TDETAILS TABLE
SEARCH DATA
1.3
SEARCH RESULT
TDETAILS TABLE
SEARCH MODULE
Page 29
BUY/ SELL
CLIENT
S2 (CLIENT) TABLE
RESULT SEARCH
2.2
S2 (CLIENT) TABLE
Page 30
DOB NOTA
GEN MICR
DIFFERENCE TRADE
OFFQTY
CRNT
CLS
UID1
OPNG
Page 31
Page 32
Page 33
Page 35
<label> <div align="center">USER TYPE</div> <span class="style3"> MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 38
</tr> <tr> <th width="172" scope="col"><span class="style3"> <label> <div align="center" class="style3">USER ID</div> <span class="style3"> </label> </span></th> <th width="120" scope="col"><input name="a" id="a" type="text" size="20"></th> </tr> <tr> <th width="172" scope="col"><span class="style3"> <label><div align="center" class="style3">PASSWORD</div> </label></span></th> <td><input name="b" id="b" type="password" size="20"></td> </tr> <tr> <td colspan ="2"><div align="center">
Page 39
<% } else { %> <b>Password Wrong</b> <% } } catch(Exception e) { } %> </tr> <tr>
Page 40
Page 41
Page 42
Page 43
Page 45
Page 46
Page 47
Page 48
<tr> <th>client Name :</th> <th>Opening Balance :</th> <th>Account Number :</th> MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 49
Page 50
Page 51
Clientname1.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page language="java" import="java.sql.*" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>R&R TRADING CO></title> </head> <body bgcolor="2F4F4F"> <center>
Page 53
Page 54
</head> <body bgcolor="2F4F4F"> <center> <form action="dailytrading1.jsp" method="post" name="Entry"> <table bgcolor="cyan" align="center" border="1" bordercolorlight="black" bordercolordark="blue" width="80%"> <tr> <tbody align="center"> <tr> <td><font size="4" color="black"><b>SENSEX</b></font></td> <td><font size="4" color="black"><b>NIFTY</b></font></td> <td><font size="4" color="black"><b>MCX</b></font></td> <td><font size="4" color="black"><b>NCDEX</b></font></td> </tr> <td><font size="4" color="black"><b>SENSEX</b></font></td> MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 55
Page 56
Page 58
Page 59
Page 60
Page 63
Page 64
Delete1.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Page 65
Page 66
Deletedisp.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page language="java" import="java.sql.*" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title> R&R SHARE TRADING CO. </title> </head> <body bgcolor="2F4F4F"> <% String id; Connection con = null; ResultSet rs=null; Statement st=null; String sql=null; try { MCA 3RD YEAR (5TH SEMESTER) MINOR PROJECT Page 67
Page 69
Page 70
Page 71
Page 72
Page 73
Demat1.jsp <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=null; Statement stmt=null; try { con=DriverManager.getConnection("jdbc:odbc:share","scott","tiger"); stmt=con.createStatement(); } catch(Exception e) { System.out.println(e.getMessage()); } String pan1=request.getParameter("a"); String NOTA1=request.getParameter("b"); String fn1=request.getParameter("c"); String dob1=request.getParameter("d"); String ra1=request.getParameter("e"); String cno1=request.getParameter("f"); String acno1=request.getParameter("g");
Page 74
Page 75
Page 77
DATA DICTIONARY
A Database is a collection of interrelated data stored with minimum redundancy to Serve many users quickly and efficiently. A Data Dictionary on the other hand is the Information to how the original data or records are stored on the database. So it is the data about data. Following is a catalogue of the data elements used in the system. It will clearly describe the database with all its elements.
TABLE NUMBER
1 2 3 4
TABLE NAME
ADMIN S2 FP TDETAILS
Type
VARCHAR2 VARCHAR2
Length
10 10
Page 78
Field Name
PAN NOTA FN DOB RA CNO ACNO BNM BRNM MICR UID1 PASS1 GEN TCON IBL
Type
VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2
Length
10 20 30 10 50 10 20 20 20 20 20 20 10 10 20
Type
VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2
Length
10 10 10 10 10 10 10 10 10 10 10
Page 79
Field Name
BIDQTY BIDPRC OFFQTY OFFPRC CRNT RATE OPN HIGH LOW CLS DIFFERENCE QTY SNM ICD DURATION FEES BUYVL STPLOS BOS UID1 IBL
Type
VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2 VARCHAR2
Length
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Page 80