Professional Documents
Culture Documents
Tribhuvan University: Tapaiko Share
Tribhuvan University: Tapaiko Share
Tribhuvan University: Tapaiko Share
A Project Report
On
Tapaiko Share
Submitted by:
Nitesh Parajuli, 1504/068
Gaurav Tripathee, 1497/068
Samundra Sharma Pandit, 1521/068
Prakritee Tuladhar, 1506/068
September, 2015
ACKNOWLEDGEMENT
The success and final outcome of this assignment required a lot of guidance and assistance
from many people and we feel extremely fortunate to have got all this all along the completion
of our assignment work. Whatever we have done is only due to such guidance and assistance
and we would not forget to thank them. We take this opportunity to express our profound
gratitude and deep regards to our supervisor Mr. Arjun Sunwar for his exemplary guidance,
monitoring and constant encouragement throughout the course of this thesis. The blessing,
help and guidance given by him time to time shall carry me a long way in the journey of life
on which we were about to embark.
We could not have completed this project without help from our college “NEW SUMMIT
COLLEGE” which gave the supportive hands before us academically, also regarding other
activities related to Information Communication Technology as well as extra curriculum
activities that we got to participate in. It gave us family like environment.
We also take this opportunity to express a deep sense of gratitude to Mr. Romkant Pandey,
project guide, and Mr. Kumar Paudyal, coordinator, New Summit College, for his cordial
support, valuable information and guidance, which helped us in completing this task through
various stages.
Lastly, we thank almighty, our parents, brothers, sisters and friends for their constant
encouragement without which this assignment would not be possible.
ABSTRACT
Stock market is one of the most unpredictable markets. The values of stock fluctuate every
passing minute. So for general public and for investor it is very much difficult to keep track of
their investment, their share prices, either they are in profit or they are in loss. The system we
have developed here is the solution of all these difficulties. Our system helps to keep track of
bought or sold shares. It also helps to keep track of buying selling date and other information
about shares. It also calculates the profit or loss of the investment on the basis of purchase
date, purchase price and current share price.
During the development period of this project we have gone through various stages from
requirement collection, feasibility analysis, system design, development to testing and
maintenance. We have used PHP as programming language, MySQL as database for backend
whereas CSS, HTML, JavaScript and other scripting language at front end. We used our own
custom MVC. Unit testing and integrated testing has been done to test and verify the
effectiveness and reliability of the system. The system is completely web based and can be
used with any computers or mobile devices with the availability of internet.
Nepal stock portfolio tracker allows users to create their personal profile, add information
about their shares, and in return users can easily track the profit and loss, and other detailed
information about their shares. Users can also browse history and view the past performance
of respective banks and their shares.
List of Figures
Figure 1 - Incremental Development Life Cycle...........................................................9
Figure 2 - Work Division Structure for Tapaiko Share................................................10
Figure 3 - Information Domain Value.........................................................................11
Figure 4 - Calculation of Functional Points.................................................................11
Figure 5 - Calculation of Line of Code........................................................................12
Figure 6 - Calculation of Effort and Duration..............................................................12
Figure 7 - GANTT Chart..............................................................................................13
Figure 8 - System Architecture Overview...................................................................14
Figure 9 - Use Case Diagram.......................................................................................15
Figure 10 - Use Case Diagram (Profile Update)..........................................................15
Figure 11 - Class Diagram...........................................................................................16
Figure 12 - Activity Diagram.......................................................................................17
Figure 13 - Sequence Diagram.....................................................................................18
Figure 14 - Sequence Diagram (Login).......................................................................18
Figure 15 - Sequence Diagram (Profile Update)..........................................................19
Figure 16 - Component Diagram.................................................................................20
Figure 17 - Deployment Diagram................................................................................21
Figure 18 - Database Schema Design..........................................................................22
Figure 19 - Integration Testing (Login).......................................................................28
Figure 20 - Integration Testing (Profile Update).........................................................29
List of Tables
Table 1 - Comparison between top online portfolio tracker sites..................................1
Table 2 - Unit Testing (Login module)........................................................................24
Abbreviations
E-R Entity-Relationship
PC Personal Computer
MS Microsoft
Table of Contents
ACKNOWLEDGEMENT..............................................................................................i
ABSTRACT...................................................................................................................ii
List of Figures...............................................................................................................iii
List of Tables................................................................................................................iv
Abbreviations.................................................................................................................v
Chapter I.........................................................................................................................1
1 Introduction........................................................................................................1
1.1 Background..................................................................................................1
1.3 Objective......................................................................................................2
1.4.1 Scope....................................................................................................2
1.4.2 Limitations............................................................................................2
Chapter II.......................................................................................................................3
2 Requirement Analysis...........................................................................................3
2.2.1 Interviews.............................................................................................5
Chapter III......................................................................................................................8
3 System Planning.....................................................................................................8
Chapter IV....................................................................................................................14
4 Design..............................................................................................................14
Chapter V.....................................................................................................................24
5.2 Testing.......................................................................................................25
Chapter VI....................................................................................................................30
6.2 Maintenance...............................................................................................30
6.2.1 Correction...........................................................................................30
6.2.2 Adaptive.............................................................................................30
6.2.3 Perfective............................................................................................31
Chapter VII...................................................................................................................32
Annex I (Snapshots).....................................................................................................33
Annex II (Code)...........................................................................................................34
Bibliography.................................................................................................................35
Chapter I
1 Introduction
1.1 Background
Stocks are the capital raised by a company or corporation through the issue and
subscription of shares.
A stock exchange lists and helps trading of shares by bringing buyers and sellers
together. Every general people nowadays own shares of various organizations so that
they are always in need of proper system that can track their investments in shares,
their transactions, profits, and about the business analytics of the organization they
have invested on.
Stock market is a place where shares are bought and sold. Stock market is very
sensitive where price fluctuation may occur in minutes. So keeping track of past
performance, present performance and analyzing it to make future investment could
be very much beneficial to any investor. Also keeping track of the investment is
essential with the help of Portfolio Tracker. The initial investment, the loss or profit,
and every other transaction can be kept into record.
This helps users or the investors to keep track of their investment with ease in
systematic, scientific and digital way.
Stock market is one of the most unpredictable markets. The values of stock fluctuate
as the minute passes by. So, for general public and for investor it is very much
difficult to keep track of their investment, their share prices, either they are in profit or
loss. Also, what if there is some system that can accumulate these data and auto-
analyze the price for tomorrow’s market? We came across a thought of building a
system that will help user to keep track of their shares and somehow auto-analyze the
approximate value of tomorrows share price. So, why did we choose Tapaiko Share?
1.3 Objective
1.4.1 Scope
1.4.2 Limitations
2 Requirement Analysis
NEPSE is the only stock exchange company of Nepal that provides the basic
information about the Stock Market and the basic Stock Market scenarios. Users can
access the stock market values of all the listed companies, banks, and/or organizations
but not that of their relative organizations. These data are hard for naïve users and
general public to understand. Also, auto-analysis and calculation of the user profit or
losses is not provided.
These systems are the primary source of data retrieval for Tapaiko Share.
Comparison between top online portfolio trackers
We studied three online portfolio tracking sites: Morningstar, SmartMoney, and Wikinvest. On studying them, we obtained the following
information:
2.2.1 Interviews
We took interviews with some users, Stock Market Personnel, investors, and
shareholders regarding the Stock Market and Market fluctuations. The subject of the
interview were those that were directly involved in day to day stock exchange
scenarios, and have great deal of knowledge on Share Market. The thus-obtained
information provided us a more detailed knowledge on the working of Stock Market.
We researched some important topics over the Internet that would help with our
project. We surfed the Internet to obtain the basics on Stock Market. We also studied
the existing systems, and their features through the Internet. We studied some
algorithms which would help us in analyzing the share market.
We analyzed the present market scenarios, other existing systems, what they have
implemented and achieved till date. We also studied about the stock exchange of other
countries.
User friendly
The system is easy and convenient for users to use. The user interface is
easy to understand and use.
Responsive
We have used responsive.css stylesheet to make the website responsive.
Availability
The system would be easily available once hosted over the internet.
The application runs on your browser with the access of the Internet. No extra
hardware or software are required to run the system. The application is
technologically supportable, viable, and is a state of art in technology.
The use of open source codes such as PHP and MySQL allowed the project to
complete in low cost. The availability of Internet in cheap price makes the application
economically feasible. Due to availability of electronic systems and technologies, the
cost of paperwork is reduced.
Also, after the calculation of ROI (Return of Investment), we can say that the system
is economically worthwhile.
Calculation of the cost benefit analysis, this system is viable based on return of
investment method, net present value and payback method.
Chapter III
3 System Planning
System planning is the phase in software development where we make plans on how
to develop the system based on the collected requirements.
Software Development work is divided into many distinct phases with an intent of
better planning and management and is called a software model. Each phases are a
part of the SDLC. Some of the most known software development models are
Waterfall model, Spiral model, RAD, JAD, etc.
Among the many development models that are available, we found that Incremental
development model was the best choice for this project. The Incremental development
model combines the elements of waterfall model which are then applied iteratively. It
basically delivers a series of releases called increments which provide progressively
more functionality at each delivery of the increments. This process continues till the
complete system is achieved.
Generates working software quickly and early during the software life
cycle.
This model is more flexible, less costly to change scope and requirements.
It is easier to test and debug during a smaller iteration.
In this model customer can respond to each built.
Lowers initial delivery cost
Easier to manage risk because risky pieces are identified and handled
during each iteration.
The reason for choosing this model is because the major requirements of the system
were clearly known and were fixed. Also, this model generates a working software
quickly and early during the SDLC. This model is more flexible and less costly.
Figure 1 - Incremental Development Life Cycle
a. Requirement Analysis
Before developing the system essential requirements were collected.
Determining the requirement, work plan was developed to meet the
requirement objectives. After that analyzing the system concept and function
further processes began.
b. Design and Development
Determining concept of proposed system, the framework of system was
developed and introduced. In this period, the overall system design and
database designs were created. After the designs were made, coding began.
c. Testing
Each modules were tested, integrated and again tested. Error checking and
debugging were done simultaneously.
d. Implementation
After the development of the system, we plan to host it over the internet.
Tapaiko Share
Requirement
Design Coding Testing
Collection
Background Layout Form Validation Errors
Database
Interviews Main Activity Debug
Connection
3.3 Resource Requirement (COST Estimation)
We used the Basic Constructive Cost Model (COCOMO) for cost estimation.
Background
Analysis Database
Datadeveloped
COCOMO is an algorithmic software constitutional model Pulling by Barry W.
Boehm. The model uses a basic regression formula with parameters that are derived
from historical project data and current project characteristics.
Session
Documentation
Management
Calculations
User
Information
4 Design
The main component of the system architecture are Internet, web server and database
and end users. The system is fully web-based. The system architecture can be
depicted through the diagram shown below:
Step 1: Start
Step 2: Read from database 50 previous data of a Listed Company and store in an
array.
Step 3: Find the average of the data and set it as a variable avg.
Step 5: Add the average to the latest value of the data. Store it as D1.
Step 6: Find the difference between each data in the grouped data
Step 8: Add the average to the latest value of the data. Store it as D2.
System development and testing is the most important in SDLC. This stage consists of
two most important parts, i.e. coding tools used and testing strategies.
5.2 Testing
Testing is the process of determining whether the developed system meets our
objectives or not. It is one of the most important phases of SDLC. This phase
consumes 40-50% of development efforts and consumes more effort for systems that
require higher levels of reliability. As the amount of maintenance and upgrade of
existing systems grow, significant amount of testing will also be needed to verify
systems after changes are made. Despite advances in formal methods and verification
techniques, a system still needs to be tested before it is used. Testing remains the truly
effective means to assure the quality of a software system of nontrivial complexity, as
well as one of the most intricate and least understood areas in software engineering.
Testing, an important research area within computer science is likely to become even
more important in the future.
Testing is involved in every stage of SDLC, but the testing done at each level of
software development is different in nature and has different objectives.
The basic unit of software that is testable is known as a module or unit. After the
coding of modules, they were tested, made error free and debugged. In this way we
carried out the unit test.
Unit testing for Login module
It is performed when two or more tested units are combined into a larger structure.
The test is often done on both the interfaces between the components and the larger
structure being constructed, if its quality property cannot be assessed from its
components. After integrating the requirements we tested, it was fine and satisfactory.
During implementation process we should consider various factors like risk, expected
benefits, performance of system, and maintenance process in long run. Our system is
completely web based so, to implement it we will buy some domain name. Our
system will be accessible in that domain name via internet. User can get all the
services provided by system through it.
6.2 Maintenance
Maintenance is the process of modifying software product after its delivery to correct
fault and improve performance. We cannot make a perfect and reliable system at once
so maintenance plays a very important role in the SDLC. We need an accurate and
effective maintenance plan.
6.2.1 Correction
A system is made by integrating simpler and easy components. If any bug is found,
instantly it can be debugged. Coding standard or coding pattern is simpler so that it is
easy to find out logical errors. Also, it can be checked and maintained. If the system
does not meet its requirement objectives, requirement errors can be solved and
reintegration or remake of system can be done. In this way, system bugs, logical
errors, and requirement errors can be corrected.
6.2.2 Adaptive
Adaptive maintenance is modifying the system to cope with changes in the software
environment. System is made considering present software and hardware trend. It is
supported by almost every machine with internet browsers. It will be compatible with
further upgrades in those browsers.
6.2.3 Perfective
The whole financial system of any country or even of the world is completely
dependent upon the slight fluctuation of the stock price and its market. Our system
has to deal with the users share prices depending upon stock fluctuation and change in
the stock market. The future project plan is to improve the analytical efficiency of
Tapaiko Share so that it can provide an even more efficient decision support to its
users. Also, keeping track of user needs is necessary in order to make any needed
changes to the system.
We have planned to gradually upgrade our system and provide more service related to
stock market which could help stock brokers, buyers, sellers in every possible way.
Annex I (Snapshots)
Annex II (Code)
Bibliography
Add bibliography