You are on page 1of 24

TABLE OF CONTENTS

Content no. Title Page no.

1 Objective
1

2 Introduction 2

3 Literature survey 3

4 Existing System 5

5 Problems Identified 5
6 Proposed System 5

7 Modules description
6

8 Flow Chart
7

9 Result 8

10
Conclusion 9
11
References
1
10
Objective 1
2 Introduction 2
3 Literature survey 3
4 Existing System 5
5 Problems Identified 5
6 Proposed System
7 Modules description 6
8 Flow Chart 7
9 Result 8
10 Conclusion 9
11 References 10
CURRENCY CONVERTER

OBJECTIVE
Currency converter aims to maintain real time information on current market
or bank exchange rates, so that the calculated result changes whenever the value
of either of the component currencies does and also it rectifies the error
while converting large values from distinct currencies.
A universal currency converter is a software application or website that
provides for the easy conversion of currency values based on present-
day exchange rates. Such currency converters can easily be found for
free on the Internet, and can quickly convert the value of one currency
to another, such as dollars to euros, or euros to pounds, and back
again.

Currency conversion is of practical use to tourists who travel abroad, to


businesses who do business overseas or are involved in imports and
exports, and to FX traders.
CURRENCY
CONVERTER
OBJECTIVE
Currency converter aims
to maintain real time
information on current
market or
bank exchange rates, so
that the calculated result
changes whenever the
value of
either of the component
currencies does and also
it rectifies the error
while
converting large values
from distinct currencies.
INTRODUCTION
A currency converter is
software code that is
designed to convert one
currency
into another in order to
check its corresponding
value. In order to
convert one
currency into another, a
user enters an amount of
money (e.g. '1000') and
chooses
the currency he/she
wishes to check the
monetary value of (e.g.
'United States
Dollar'). After that, the
user selects one, or
sometimes several other
currencies,
he/she would like to see
the result in. The
application software then
calculates and
displays the corresponding
amount of money.
INTRODUCTION

A currency converter is software code that is designed to convert one


currency into another in order to check its corresponding value. In order
to convert one currency into another, a user enters an amount of money (e.g.
'1000') and chooses the currency he/she wishes to check the monetary
value of (e.g. 'United States Dollar'). After that, the user selects one, or
sometimes several other currencies, he/she would like to see the result in. The
application software then calculates and displays the corresponding amount of
money.
LITERATURE SURVEY
1. A paper naming “Method and system for delivering foreign exchange
risk management” was done by Lois Scheirer and it was published in Dec 2001.
In this paper they suggest a Consistent with principles of the present
invention, a method and system for delivering foreign exchange risk
management advisory solutions to a designated marked is disclosed. For each
user, the disclosed system generates an exposure model that is consistent with
that user's risk management policy and a budget/pricing determination
made in response to user information and external pricing information.
2. A paper naming “System and method for generating and executing
foreign exchange losses” was published in Oct 2000. The authors were Jay S.
Walker, James A. Jorasch In this paper they suggest a system and
method for providing a foreign exchange insurance policy that automatically
considers factors such as the type of currency, exchange rate, amount of
coverage, and period of coverage, to determine a premium. Users can access
the system using credit cards, ATMs, banks or other media.
3. A paper naming “Algorithmic Trading in the Foreign Exchange Market”
was published in Sept 2014. The authors were Alain P.Chaboud, Benjamin
Chiquoine, Erik Hjalmarsson and Clara Vega. In this paper they suggest
the impact of algorithmic trading (AT) in the foreign exchange market
using a long time series of high-frequency data that identifycomputer-
generated trading activity. We find that AT causes an improvement in two
measures of price efficiency: the frequency of triangular arbitrage opportunities
and the autocorrelation of high-frequency returns.
4. The paper naming “Foreign Exchange Trading in Emerging Currencies :
More Financial, More Offshore” was published in March 2011. Authors
were Robert N. McCauley, Michela Scatigna. In this paper they suggest
Foreign exchange turnover evolves in a predictable fashion with increasing
income. As income per capita rises, currency trading cuts loose from
underlying current account transactions. In parallel, an increasing share of
trading in the currency takes place outside the home country. At given income
levels, moreover, currencies with either high or very low yields attract more
trading, consistent with their role as target and funding currencies in carry
trades.
EXISTING SYSTEM

The existing system consists of exchange of currencies from one


country to another. However during transaction the large amount cannot be
exchanged to the foreign currencies there occurs an error during transaction.

PROBLEMS IDENTIFIED

This currency converter system shows errors while converting large values
from distinct currencies that vary a lot and are not usually converted into
each other.

PROPOSED SYSTEM

This software system uses efficient algorithms to easily and instantly


convert one currency to other and it also rectifies the error that occurs
while converting large values from distinct currencies.
MODULES
DESCRIPTION
1. CHOOSING THE
CURRENCY TYPE:
The webpage asks the
user to choose the
currency type from the
given
currency option. The
user can convert the
currency from Euro to
USD, USD to
Euro and Pounds to USD.
2. ENTER THE CURRENCY
VALUE
It asks for the user to
enter the currency value
that is to be changed from
one
currency to another. If
the entering current
value is in negative,
there it displays
please enter the positive
values
3. MULTIPLIES THE
VALUE:
Once the user enters
the value, it performs
the multiplication
operation
according to the currency
values that has to be
changed further. Each
converting
currency values performs
different multiplication
operation.
4. PRINTING THE VALUE:
After the process is
over then it prints the
converted currency
values
according to the user
required.
MODULES DESCRIPTION

1. CHOOSING THE CURRENCY TYPE:


The webpage asks the user to choose the currency type from the
given currency option. The user can convert the currency from Euro
to USD, USD to Euro and Pounds to USD.
2. ENTER THE CURRENCY VALUE:
It asks for the user to enter the currency value that is to be changed from
one currency to another. If the entering current value is in negative,
there it displays please enter the positive values
3. MULTIPLIES THE VALUE:
Once the user enters the value, it performs the multiplication
operation according to the currency values that has to be changed further.
Each converting currency values performs different multiplication
operation.
4. PRINTING THE VALUE:
After the process is over then it prints the converted currency
values according to the user required.
FLOW CHART

7
FLOW CHART
CODE

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class GFG {

// Function to convert from rupee


// to the dollar and vice-versa
// using Java Swing
public static void converter()
{

// Creating a new frame using JFrame


JFrame f = new JFrame("CONVERTER");

// Creating two labels


JLabel l1, l2;

// Creating two text fields.


// One for rupee and one for
// the dollar
JTextField t1, t2;

// Creating three buttons


JButton b1, b2, b3;

// Naming the labels and setting


// the bounds for the labels
l1 = new JLabel("Rupees:");
l1.setBounds(20, 40, 60, 30);
l2 = new JLabel("Dollars:");
l2.setBounds(170, 40, 60, 30);

// Initializing the text fields with


// 0 by default and setting the
// bounds for the text fields
t1 = new JTextField("0");
t1.setBounds(80, 40, 50, 30);
t2 = new JTextField("0");
t2.setBounds(240, 40, 50, 30);

// Creating a button for INR,


// one button for the dollar
// and one button to close
// and setting the bounds
b1 = new JButton("INR");
b1.setBounds(50, 80, 60, 15);
b2 = new JButton("Dollar");
b2.setBounds(190, 80, 60, 15);
b3 = new JButton("close");
b3.setBounds(150, 150, 60, 30);

// Adding action listener


b1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
// Converting to double
double d
= Double.parseDouble(t1.getText());
// Converting rupees to dollars
double d1 = (d / 65.25);

// Getting the string value of the


// calculated value
String str1 = String.valueOf(d1);

// Placing it in the text box


t2.setText(str1);
}
});

// Adding action listener


b2.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
// Converting to double
double d2
= Double.parseDouble(t2.getText());

// converting Dollars to rupees


double d3 = (d2 * 65.25);

// Getting the string value of the


// calculated value
String str2 = String.valueOf(d3);

// Placing it in the text box


t1.setText(str2);
}
});

// Action listener to close the form


b3.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
{
f.dispose();
}
});

// Default method for closing the frame


f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});

// Adding the created objects


// to the form
f.add(l1);
f.add(t1);
f.add(l2);
f.add(t2);
f.add(b1);
f.add(b2);
f.add(b3);

f.setLayout(null);
f.setSize(400, 300);
f.setVisible(true);
}

// Driver code
public static void main(String args[])
{
converter();
}
}
OUTPUT
CONCLUSION

Currency converter that the people are using, they will always find ways to get
the highest possible profits out of the exchanges. To those who are going to
travel, it is a wise thing to check the different foreign exchange options
they have beforehand.

You might also like