Using Data Mining Technologies to find Currency Trading Rules A. G. Malliaris M. E. Malliaris Loyola University Chicago Multinational Finance Society,

Slides:



Advertisements
Similar presentations
© 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Advertisements

Decision Tree Rong Jin. Determine Milage Per Gallon.
Data Quality Class 9. Rule Discovery Decision and Classification Trees Association Rules.
DATA MINING CS157A Swathi Rangan. A Brief History of Data Mining The term “Data Mining” was only introduced in the 1990s. Data Mining roots are traced.
Relational Data Mining in Finance Haonan Zhang CFWin /04/2003.
Foreign Exchange Exposure What is it and How it Affects the Multinational Firm?
Decision Tree Algorithm
Spot and Forward Rates, Currency Swaps, Futures and Options
About ISoft … What is Decision Tree? Alice Process … Conclusions Outline.
Stock Movement Prediction Deepathi Lingala Sathindra K. Kamepalli Sudhir K. V. Potturi.
International Financial Management: INBU 4200 Fall Semester 2004 Lecture 4: Part 3 International Parity Relationships: The Purchasing Power Parity Model.
Currency Futures and Options. Spot Exchange Rates Spot transactions are done immediately. A spot rate is the current domestic currency price of a foreign.
Reinert/Windows on the World Economy, 2005 Exchange Rates and Purchasing Power Parity CHAPTER 13.
Exchange Rates, The Balance of Payments, and Trade Deficits Chapter 38.
Chapter 5 Data mining : A Closer Look.
Chapter 16 Commodities and Financial Futures. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Commodities and Financial Futures Learning.
Beyond Opportunity; Enterprise Miner Ronalda Koster, Data Analyst.
Exchange Rates and Agricultural Trade Chapter 17.
Data Mining By Andrie Suherman. Agenda Introduction Major Elements Steps/ Processes Tools used for data mining Advantages and Disadvantages.
Lecture 14. March 22, 2004 Exchange Rate - Amount of one currency needed to purchase one unit of another. Spot Rate of Exchange - Exchange rate for an.
DATA MINING FOR DECISION MAKING Mary Malliaris Loyola University Chicago DSI Annual Meeting Baltimore November 16, 2013.
SWAP Agreements LECTURE 06. SWAPS  Basic meaning of SWAP is “something that is exchanged”  A currency swap refers to a spot sale of a currency combined.
Part III Exchange Rate Risk Management Information on existing and anticipated economic conditions of various countries and on historical exchange rate.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence From Data Mining To Knowledge.
Next Generation Techniques: Trees, Network and Rules
Data Mining Chun-Hung Chou
MECHANICS OF FOREIGN EXCHANGE (FOREX). FOREIGN EXCHANGE (FOREX) The buying and selling of currency Ex. In order to purchase souvenirs in France, it is.
INTRODUCTION TO MACHINE LEARNING. $1,000,000 Machine Learning  Learn models from data  Three main types of learning :  Supervised learning  Unsupervised.
Decision Trees.
Slides for “Data Mining” by I. H. Witten and E. Frank.
International Finance FIN456 ♦ Fall 2012 Michael Dimond.
International Finance FINA 5331 Lecture 14: Hedging currency risk with currency options Aaron Smallwood Ph.D.
Knowledge Discovery and Data Mining Evgueni Smirnov.
© 2008 McGraw-Hill Ryerson Ltd., All Rights Reserved PowerPoint® Presentation Prepared By Charles Schell The Market for Foreign Exchange Chapter 4.
N-tuple S&P Patterns Across Decades, 1950s to 2011
Knowledge Discovery and Data Mining Evgueni Smirnov.
AI Week 14 Machine Learning: Introduction to Data Mining Lee McCluskey, room 3/10
International Trade Mechanics of Foreign Exchange (FOREX)
HW#2: A Strategy for Mining Association Rules Continuously in POS Scanner Data.
International Finance FINA 5331 Lecture 12: Hedging currency risk… Covered Interest Rate Parity Read: Chapter 7 Aaron Smallwood Ph.D.
Data Mining – Intro. Course Overview Spatial Databases Temporal and Spatio-Temporal Databases Multimedia Databases Data Mining.
UNIT 2: GOVERNMENT FINANCE. FOREIGN EXCHANGE 2 decisions to make… 1) BUY or SELL? BE SURE YOU USE THE CORRECT COLUMN IN THE CHART! Is the bank SELLING.
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Forecasting Exchange Rates 9 9 Chapter South-Western/Thomson Learning © 2006.
1 Chapter 21 International Trade and Finance ©2004 Thomson/South-Western Key Concepts Key Concepts Summary Summary Practice Quiz.
International Finance FIN456 Michael Dimond. Michael Dimond School of Business Administration Derivatives in currency exchange Forwards – a “one off”
Chapter 11 Statistical Techniques. Data Warehouse and Data Mining Chapter 11 2 Chapter Objectives  Understand when linear regression is an appropriate.
Data Mining BY JEMINI ISLAM. Data Mining Outline: What is data mining? Why use data mining? How does data mining work The process of data mining Tools.
DATA MINING By Cecilia Parng CS 157B.
Chapter 11 An Introduction to International Finance.
International Trade and Finance: Foreign Exchange Market AP Economics Mr. Bordelon.
Data Mining and Decision Support
N-tuple S&P Patterns Across Decades, 1950s to 2011 A.G. Malliaris and Mary Malliaris Euro Working FinancialGroup May 3-5, 2012, Rome, Italy.
DECISION TREES Asher Moody, CS 157B. Overview  Definition  Motivation  Algorithms  ID3  Example  Entropy  Information Gain  Applications  Conclusion.
1 Objective – Students will be able to answer questions regarding foreign exchange. SECTION 1 Chapter 38- Foreign Exchange © 2001 by Prentice Hall, Inc.
Foreign Exchange (FOREX) The buying and selling of currency – Ex. In order to purchase souvenirs in France, it is first necessary for Americans to sell.
Predicting Exchange Rates Out of Sample: Can Economic Fundamentals Beat the Random Walk? Jiahan Li Assistant professor of Statistics University of Notre.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 28 Data Mining Concepts.
DATA MINING TECHNIQUES (DECISION TREES ) Presented by: Shweta Ghate MIT College OF Engineering.
Relationships among Inflation, Interest Rates, and Exchange Rates
Chapter 2 Foreign Exchange Parity Relations. Problem 1: Because the interest rate in A is greater than the interest rate in B,  is expected to depreciate.
AP Macroeconomics Mechanics of Foreign Exchange (FOREX)
Dr.P.krishnaveni/MBA/Financial Derivatives
Forecasting Exchange Rates
Chapter 28 International Trade and Finance
Rule Induction for Classification Using
Chapter 15 Commodities and Financial Futures.
Measuring Exposure To Exchange Rate Fluctuations
Mechanics of Foreign Exchange (FOREX)
How a Financial Crisis Affects Data Mining Results: A Case Study
Presentation transcript:

Using Data Mining Technologies to find Currency Trading Rules A. G. Malliaris M. E. Malliaris Loyola University Chicago Multinational Finance Society, Rome, Italy, June 26-29, 2011

MOTIVATION If it is possible to isolate some assets that have consistent patterns of co-movement, then this knowledge can be used in two ways: to make money if one has moved and the other has not moved yet, or, to build a more diverse portfolio by including assets that move in opposite directions

FOCUS Are there certain currency markets that move up or down together sufficiently often for us to form a conclusion about their inter- relationships? Data from eight major currencies, over ten years, was studied to see if there are movement rules among these currencies that might be stable over time.

DATA MINING Data Mining is the search for meaningful patterns in large data sets Meaningful patterns are easily understood, valid on new or test data with some degree of certainty, and potentially useful Models are produced using a set of values of indicators at a particular time The goal is to produce a model that generalizes well on future observations

ASSOCIATION ANALYSIS Association analysis is a popular data mining method that originated with the study of market baskets to see which items people purchased at the same time. Association analysis generates a set of rules of the form IF A THEN B

ASSOCIATION ANALYSIS The set of rules that is generated also have values of support and confidence Support: percent of times that some combination of inputs (also called antecedents) occurs in the data set. Confidence: when the antecedent combination does occur, reflects the percent of time that the output, or consequent, is also true.

GRI Generalized Rule Induction is an association analysis methodology that was introduced in 1992 by Smyth and Goodman GRI is an effective, parsimonious method for detecting relationships in a large set of variables

Decision trees divide up a large collection of records into successively smaller sets of records by applying a sequence of simple decision rules. A good decision tree model consists of a set of rules that results in homogeneous groups; that is, it separates records into groups where a single class predominates for each group The final result of these splits is often represented graphically in a tree structure. DECISION TREES

All Data Begin

All Decision Trees begin with a root node. They employ a strategy that grows the tree by making a series of locally optimum decisions about which attribute to use for partitioning the data. The goal of the algorithm is to partition the records into successively purer subsets based on the values of the target field. GROWING A TREE

CLASSIFICATION & REGRESSION TREES (C&RT) Unlike many methods from statistics, C&RT did not exist before machine learning methods were available. C&RT is a decision tree methodology that generates only binary splits at each stage All decisions are based on the value of a single target variable

DATA January 2000 through July 2009 Downloaded from Bloomberg. These prices were split into two disjoint sets for training and validation. Data from January to June was used as the training set (2215 rows) July to July , used as the validation set (276 rows). To study the simultaneous market movements, all data was transformed into “Up” or “Down”

THE EIGHT CURRENCIES Original data was daily cash closing prices for the price of 1 US Dollar in the foreign currency that day Australian Dollar, Japanese Yen British Pound, Euro, Swiss Franc Canadian Dollar, Mexican Peso, Brazilian Real

RELATIVE MOVEMENT In order to view them all in a similar scale, the Mexican Peso has been multiplied by 10 and the Japanese Yen by 100 for the graph.

DATA MINING TOOL Methodologies were run using the SPSS product Clementine There were two runs of each model for GRI – First, the Australian dollar and Japanese Yen were inputs, with the Euro, the Swiss Franc and the British Pound as possible outputs. – Second, the Australian dollar, Japanese Yen, the Euro, the Swiss Franc and the British Pound were inputs, with the Mexican Peso, the Brazilian Real and the Canadian dollar as outputs. One C&RT tree was created for each of the six GRI output targets

RESULTS Each model developed a large number of rules and paths. Here, we display one Up rule and one Down rule for each of the target markets. Rules selected were those that did well not only on the training set, but also on the validation set.

Training SetValidation Set TargetRules With Best Results%Rows%Correct%Rows%Correct Euro = UpAustralia = Up and Japan = Up Euro = DownAustralia = Down and Japan = Down Britain = UpAustralia = Up and Japan = Up Britain = DownAustralia = Down and Japan = Down Swiss = UpAustralia = Up and Japan = Up Swiss = DownAustralia= Down and Japan = Down Brazil = UpAustralia = Up and Japan = Down Brazil = Down Australia = Down and Euro = Down and Swiss = Down and Britain = Down Mexico = Up Euro = Up and Britain = Up and Swiss = Down Mexico = Down Australia = Down and Japan = Up and Britain = Down Canada = UpAustralia = Up Canada = DownAustralia = Down and Euro = Down

CONCLUSIONS Today, the daily volume of currency transactions in currency futures, forwards, swaps and options dominates all other types of trading volumes. Whether currencies move together or independently is a matter of importance for investors wishing to spread the impact of their portfolio decisions. The results of this study suggest that there is reason to believe that co-movement among some specific markets exists over relatively long periods of time.