OOAD DOC

24
Foreign Trading System

Transcript of OOAD DOC

Page 1: OOAD DOC

Foreign Trading System

Page 2: OOAD DOC

ABSTRACT

The practice of currency trading is also commonly referred to as foreign exchange, Forex or FX for short. All currency has a value relative to other currencies on the planet. Currency trading system uses the purchase and sale of large quantities of currency to leverage the shifts in relative value into profit. The online Foreign Currency Trading system is almost entirely a "spot" market. A "spot" market means that the trading is made immediately or "on the spot". The settlement of those Foreign Currency Trading spot transactions is made within two working days.

List of figures:

Page 3: OOAD DOC

Use case diagram Activity diagram Class diagram Domain model Interaction diagram State chart diagram Package diagram Component diagram Deployment diagram

List of tables:

Account details Renew details Cancellation details

INITIAL PHASE

1.1 Background to the Study Market fluctuation.

Page 4: OOAD DOC

Profit and loss. Overall performance.

1.2 Objective

1.2.1 General Objectives

To develop a Foreign Trade System.

1.2.2 Specific Objectives

Foreign Trade system is used for faster online access by the users.

To show how currency future covers ground in comparison with other

available derivative instruments and to provide awareness in market and attract

the investors.

1.3 Scope of project

The online Foreign Currency Trading system enables you can have 24 hour updates of your investment in currency from the convenience of your own home.

The Foreign Currency Trading system involves no exchange fees, commissions and payments of that sort.

The margin and leverage trading allows you to increase your earnings by up to 100 times more than regular currency trading. This means larger profits and can benefit some investors.

Currency Converter gives you accurate and instant foreign currency conversions.

The options are varied for minimum currency trading investments. There is also mini account where with a very small initial investment in a leveraged foreign currency, you can reach a high reward through minimal risk.

1.4 Schedule of the project

S.NO NAME OF THE PHASE DATE DAYS

Page 5: OOAD DOC

1. Initial Phase Dec 20-Dec26 7

2. Analysis Phase Jan 10-Jan 16 7

3. Design phase Jan 31-Feb 6 7

1.5 Software Development methodology

1.5.1 Incremental Model

The incremental model is an intuitive approach to the waterfall model.

Multiple cycles take place here, making the lifecycle a “multi-waterfall” cycle.

The product is defined as finished when it satisfies all of its requirements.

This model combines he elements of the waterfall model with the iterative

1.5.2 Philosophy of prototyping

It is a popular model software evolution used many commercial software companies and system vendor.

Incremental software development model may be applicable o projects where, software requirements are well defined, but realization may be delayed.

The basic software functionality is required earlier.

Here cycles are divided up into smaller, more easily managed iterations.

Each iteration passes through the requirements, design, implementations and testing phases. it involves both development and maintenance.

A working version of software is produced during the first iteration, so you have working software earl on during the software life cycle.

Subsequent iteration build on the initial software produced during the first iteration.

Page 6: OOAD DOC

Incremental Life Cycle Model

Advantages

Generates working software quickly and early during the software life cycle.

More flexible-less costly to change scope and requirements.

Easier to test and debug during a smaller iteration.

Easier to manage risk during its Iteration.

Each iteration is an easily managed milestone.

Each component is delivered to the client when it is complete. This allows partial utilization of product and avoids long development time.

This model of development also helps ease the traumatic effect of introducing completely new system all at once.

1.6 Significance of the study

It is mainly created to measure the market fluctuation.

The knowledge you acquire through foreign currency trading will let you invest smartly.

This improves the development of the organization

2. Analysis phase:

Page 7: OOAD DOC

2.1 Introduction:

This project emphasizes about the Foreign Trade System which is an interface between the Account holder and the market. In the initial phase details about the various currencies and the profit and loss of currency hold is collected. The project comprises of several modules which also includes currency converter and program to calculate profit and loss. The front end we use here is Visual basic 6.0 and the back end is SQL Server 2000 with Microsoft Access.

2.2 Problem Statement :

System analysis is a logical process; the objective of this stage is not actually to solve the problem but to determine what must be done to solve the problem. The basis objective of this stage is to develop the logical model of the system using such as UML. Let’s now take a look on existing and proposed system.

2.2.1 Existing System:

Time consuming. More manual work. More complex. Involves exchange fees, commissions and payments etc.

2.2.2 Proposed System:

• Heightened sensibility to a large and continuously changing number of factors.

• Accessibility to all traders in the major currencies.

• Guaranteed quantity and liquidity of the major currencies.

• Minimize manual data entry.

• Ensure the data accuracy’s.

• Ease of comfort.

• User friendliness and interactive.

2.3 Project information

2.3.1 Modules and Description

Page 8: OOAD DOC

Login:

The Login module contains the form which contain membership name and member password.

It includes Username and Password.

Trading Account Details:

This form contains the information about account holder, market status, currency held, trading histories, etc.

Buy:

After the user logged in they can buy stocks online the user can buy stock only it is available for buying.

Sell:

After the user logged in they can sell stocks online , the user can sell his own stocks only

Bank Account Database:

After the trading is finished user has to select the type of transaction whether credit card Demat account.

2.4 Environmental specification

2.4.1 Software requirements

Operating System : Windows XP

Front End : Visual Basic 6.0

Back End : Microsoft SQL Server 2000

2.4.2 Hardware requirements

Processor : Intel Pentium 4

Clock Speed : 3.08 GHz

Page 9: OOAD DOC

Keyboard : 104 Keys

RAM : 1 GB

Hard Disk : 320 GB

2.4.3 Functional requirements

Login - Enter Username and Password. Market Status – Get status

Buy – Buy stocks

Sell – Sell stocks.

Payment – credit / debit in bank account.

2.4.4 Non Functional requirements

System should be fast enough to satisfy user.

Trader access the market status frequently so as to decide which currency to hold and which currency to sell.

System should be available at any time.

2.5 Risk Management

2.5.1 Risk Identification

If the system fails to update the currency details then unnecessary confusion may arrive.

When the member may not register the form correctly. It may affect the login.

Failure of Backup details. 

2.5.2 Risk Monitoring

Trader

Page 10: OOAD DOC

Broker

2.5.3 Risk Avoidance

With the online Foreign Currency Trading market you can have 24 hour updates of your investment in currency from the convenience of your own home, so better efficiency.

All the details are related only between the Trader and the Broker. So no third person can access or modify the data.

The Broker has separate databases with large storage. Even backup copies for all the entries are made for data security.

3.Design Phase

3.1 System Design

3.1.1 Architectural Design

3.2 Data Design

3.2.1 Data flow diagram

3.3 Conceptual design

3.3.1 Entity Relationship diagram

3.4 UML diagrams

Page 11: OOAD DOC

3.4.1 Use case model

3.4.2 Business model

MarketAuthority

Broker

Market Status

TradingA/C

Buy

Sell

Investor

A/C Details

DataBase

BankAuthority

Use Case Diagram

Page 12: OOAD DOC

Start

Activity diagram -- Foreign Trading

if a/c balance > trading a/c balance

Enter A/C no & Password

Authentication

Trading A/C Details

Check Market Status

Check Bank A/c Details

Check Trading A/C

if currency is hold

WithDrawInvest

Update BankDataBase

buy sell

valid

Invalid

yesyes

no

3.4.3 Domain model

Page 13: OOAD DOC

Class Diagram -- Foreign Trading

Deals the Transaction between the investor & Bank

Contain the DB of the accounts related to the Bank

Market AuthorityDateCurrentPrice

SendStatus()

InvestorA/C NOLogin Password

submit()reset()cancel()

1

1

1

1

getStatus

Bank AuthorityA/C DataBase

verify()update()cancel()

BrokerBuySell

renew()trading()retrieve()

11 11

trading

1

1

1

1

getDataBase

Page 14: OOAD DOC

Domain Diagram - Foreign Trading

Deals the Transaction between the investor & Bank

Contain the DB of the accounts related to the Bank

Market AuthorityDateCurrentPrice

InvestorA/C NOLogin Password

1

1

1

1

getStatus

Bank AuthorityA/C DataBase

BrokerBuySell11 11

trading

1

1

1

1

getDataBase

Page 15: OOAD DOC

3.4.3 Interaction diagram:

: Investor : Trading A/C

: Market Authority

: Bank Database : Investment : Trading Database : withdraw

submit (A/C no, password)

invalid,enter correct details

reset(A/C no,password)

checks(marketStatus)

Buy

bank A/C balance > trading A/C balance

makeInvestmentupdateBank A/C

sell

currency hold

notHeld

getAmountupdateTradingA/C

insufficient balance

Page 16: OOAD DOC

COLLABORATION DIAGRAM

: Investor

: Trading A/C

: Market Authority : Bank Database

: Investment

: Trading Database

9: updateBank A/C

14: updateTradingA/C

1: submit(A/C no,password)3: reset(A/C no,password)

2: invalid,enter correct details

4: checks(marketStatus)

6: bank A/C balance > trading A/C balance8: makeInvestment

7: insufficient balance

11: currency hold13: getAmount

12: notHeld

5: Buy

10: sell

Page 17: OOAD DOC

3.4.4 State start

State Machine diagram -- Foreign Trading

Start

Logging

entry/ Usernameentry/ A/C noentry/ Password

VerificationTrading

entry/ A/C details

Market Status

Trading dataBase

entry/ A/C details

Bank dataBase

entry/ A/C details

Bank A/C balance > Trading A/C balance

Currency hold

Investment withdrawBank Database

not valid/enter correct details 5ns

check details 1sec valid 5ns

view 5sec

Sell 5nsBuy 5ns

checks 1 sec checks 1sec

updateBankA / C 10ns updateTradingA / C 10ns

End

not held 4sec

getAmount 7ns

insufficient balance 4sec

makeInvestment 8ns

Page 18: OOAD DOC

3.4.5 Package

Technical Layer

User Interface

Visual Basic SQL Web

We are using SQL for data storage

We have designed forms using VBUser

Interface layer

Domain

Domain Layer

market authority

broker bank authority

Technical Service layer

Package Diagram -- Foreign Trading

investor

login trading update bank A/C

Page 19: OOAD DOC

3.4.6 Deployment

Page 20: OOAD DOC

3.4.7 Component