International Journal of Computer Engineering and Technology (IJCET), ISSN 0976 – 6367(Print), ISSN
0976 – 6375(Online) Volume 2, Number 2, May- July (2011), © IAEME
25
REUSABLE WEB DESIGN PATTERNS FOR ONLINE
DERIVATIVES TRADING
Prof. P. Niranjan Dr. Jayadev Gyani P.Shireesha
Head, Dept.of CSE , Head, Dept.of CSE , Assistant Professor,
Kakatiya Institute of Jayamukhi inistitute of Kakatiya Institute of
Technology & Science, technology & sciences Technology & Science,
Warangal , A.P. INDIA Narsmpet,A.P,INDIA Warangal , A.P. INDIA
npolala@yahoo.co.in jayadevgyani@yahoo.com rishapakala@yahoo.co.in
ABSTRACT
Design patterns are gaining popularity because they support modifiability and flexibility
of designs. Design patterns are solutions to frequently recurring problems in design.
Reverse engineering of source code primarily focuses on the software architecture.
Understanding software architecture in terms of design patterns simplifies the process of
identifying some key properties such as coupling, flexibility and maintainability. This
paper presents a novel approach to extract design patterns using structural metrics of
object-oriented programs. It involves two steps. In the first step, structural metrics are
extracted from the source code. In the second step, these metrics are matched with the
properties of structural design patterns of Gang-of-Four to identify a design pattern. Our
approach is demonstrated by extracting design patterns from a Java program using our
pattern extraction tool.
Keywords: Design pattern, extraction, structural metrics, matching
1. INTRODUCTION
Online share trading mainly deals with selling and buying of shares electronically. Online
share trading is categorized into two types. One deals with the equity trading and the
other deals with derivatives trading. Our focus is on derivatives trading. Online derivative
trading involves share broker, stock exchange and customers. Share broker is responsible
for opening the new account for the user and providing the interface to the user for
trading. Stock exchange maintains a list of shares along with their prices. Companies that
are registered with the stock exchange can only be traded. Most often, this list expands to
involve new companies. Derivative trading is of two types. One is future trading and the
other one is option trading. A derivative contract expires at a specified date in a month
after which it will not exist. In both the cases the number of shares to be traded is fixed
and it is called a “lot size”. For performing trading, necessary fund can be transferred to
the trading account using online fund transfer. Whenever the necessary amount is to be
withdrawn it can be done through payment request. We propose six design patterns for
online derivative trading namely derivative search, derivative lot size, derivative buy/sell,
International Journal of Computer Engineering
and Technology (IJCET), ISSN 0976 – 6367(Print)
ISSN 0976 – 6375(Online) Volume 2
Number 2, May – July (2011), pp. 25-33
© IAEME, http://www.iaeme.com/ijcet.html
IJCET
© I A E M E