
MIT - Online Stock Trading
Project objective:
To
trade (buy/sell) stocks through mobile phones and Internet.
Client:
Maroc Inter-Titres Banque (one of the largest banks in Morocco).
Project was worked jointly with Sicodex Technologies, Morocco.
Project
Description (Mobile part):
The
mobile users can select the type of trading such as buying
or selling of stocks/shares and enter other stock related
details such stock name, quantity, price etc through their
mobile phones. User request is sent to 724.com (who act
as the Financial Service Provider) using WAP protocol. 724.com
converts the user request into XML document according to
the Open Financial Exchange (OFX) standard. The OFX document
is sent to Sicodex OFX server through Servlet for data processing
OFX
Server is basically a set of java classes that were generated
using Java Architecture for XML Binding (JAXB) from the
OFX DTD. These classes are the object representations of
OFX request/response XML documents.
On
receiving the OFX request XML document, JAXB 'unmarshals'
the XML document into a Java Object Tree. The stock related
data is then extracted from the java objects and is sent
to the Business Logic Module. The business logic module
is divided into three parts - Front Office, Middle Office
and Back Office:
-
The Front Office does preliminary screening of order requests
such checking of valid users, availability of sufficient
funds in the member account etc.
- The
Middle Office carries out further screening of orders
and allows certain operations for privileged members.
- Finally,
the order reaches the Back Office, which forwards it to
the Morocco Stock Exchange through an interface.
The
stock exchange acknowledges the order and sends the order
status message back to the Back Office, which in turn forwards
it to the OFX Server as java objects. The OFX Server 'marshals'
the java objects into OFX XML documents and sends it back
to 724.com through Servlet which in turn forwards it to
the mobile users.
The
business logic was developed using EJB to avail its inherent
distributed computing feature since the application servers
were physically separated across network.
Some
of the features provided to the mobile users are:
- Buy/Sell
of Stocks with facilities for modifying and canceling
orders
- Member
Transaction details such credit, debit, balance amount
- Order
Status such as fulfilled, pending, completed, canceled
etc
- Newsletters
to members
Technology
used:
Java
Technology :Java Architecture for XML Binding(JAXB), Enterprise
Java Beans(EJB), JSP, Servlet, Java Beans
XML Application : Open Financial Exchange (OFX) standard
Application Server : Oracle 9i application Server
Database : Oracle 8i
Development tool : Oracle Jdeveloper
Modeling tool : Rational Rose, Oracle Designer
Operating System : Windows2000
|