Implementing Genetic Algorithms in Finance Applications Nihaar Sinha.

Slides:



Advertisements
Similar presentations
Algorithm Design Techniques
Advertisements

Relevance Feedback Limitations –Must yield result within at most 3-4 iterations –Users will likely terminate the process sooner –User may get irritated.
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Quantsmile: Quantitative Portfolio Management Quantsmile: Quantitative Portfolio Management.
Asset Management Lecture Four. Outline for today What assets to invest in a bear market? What assets to invest in a bear market? The BEARX Case The BEARX.
Capital Budgeting and Financial Planning
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
Risk and Rates of Return
Objectives Understand the basic concept and sources of capital associated with the cost of capital. Explain what is meant by the marginal cost of capital.
A Heuristic Bidding Strategy for Multiple Heterogeneous Auctions Patricia Anthony & Nicholas R. Jennings Dept. of Electronics and Computer Science University.
Data Mining CS 341, Spring 2007 Genetic Algorithm.
1 © Copyrright Doug Hillman 2000 Analysis and Interpretation of Financial Statements.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Learning to Advertise. Introduction Advertising on the Internet = $$$ –Especially search advertising and web page advertising Problem: –Selecting ads.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Portfolio Risk and Performance Analysis Essentials of Corporate Finance Chapter 11 Materials Created by Glenn Snyder – San Francisco State University.
Stock Market Game Current Events.
The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI
Introduction to Financial Statement Analysis Introduction to Financial Statement Analysis C H A P T E R 5.
MSE608C – Engineering and Financial Cost Analysis
Lesson 10-2 Principles of Saving and Investing LEARNING GOALS: -DISCUSS THE CONCEPT OF RISK VERSUS RETURN. -LIST AND EXPLAIN THE TYPES OF RISK THAT ARE.
This week its Accounting Theory
Presented by: Lauren Rudd
FIN 819: lecture 2'1 Review of the Valuation of Common Stocks How to apply the PV concept.
Interpreting securities tables
Genetic Algorithm.
AIM How do we analyze stocks based on their financial data? DO NOW How can we use financial reports (Annual and Quarterly reports) to help us decide when.
Stock Market Terms Updates for the previous lectures.
Implementing Genetic Algorithms in Finance Applications Nihaar Sinha.
Chapter The Basic Tools of Finance 14. Present Value: Measuring the Time Value of Money Finance – Studies how people make decisions regarding Allocation.
Investment Models Securities and Investments. Why Use Investment Models? All investors expect to earn money on their investments. All investors wish they.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
UOS 1 Ontology Based Personalized Search Zhang Tao The University of Seoul.
Portfolio Game Each student in the class will enroll and participate in a portfolio simulation game. The rules and requirements for this exercise are listed.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
How to Pick a Stock. It’s Important to Remember… There is no one formula for stock picking! It is more art than science! You should, however, do some.
1 Calculating the profit or loss of a business. * Profit (what it is and why it matters) * Purpose and main elements of profit/ loss account All students….
Stock Market Project. What is a stock? Stock is ownership in a company.
FIN 819: lecture 4 Risk, Returns, CAPM and the Cost of Capital Where does the discount rate come from?
Chapter 4 Introduction This chapter will discuss the concept of risk and how it is measured. Furthermore, this chapter will discuss: Risk aversion Mean.
Analyzing Financial Statements
Introductory Investment Analysis Part II Course Leader: Lauren Rudd January 12, weeks.
Marketing Horticulture Products. Next Generation Science/Common Core Standards Addressed! HSNQ.A.1 Use units as a way to understand problems and to guide.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
E. Napp Saving and Investing In this lesson, students will be able to identify characteristics of saving and investing. Students will be able to identify.
Chapter 6 Efficient Diversification. E(r p ) = W 1 r 1 + W 2 r 2 W 1 = W 2 = = Two-Security Portfolio Return E(r p ) = 0.6(9.28%) + 0.4(11.97%) = 10.36%
Mining Evolutionary Model MEM Rida E. Moustafa And Edward J. Wegman George Mason University Phone:
Business Finance Michael Dimond. Michael Dimond School of Business Administration Introduction What this class will cover How do I get an A in this class?
Personal Portfolio Management -in a turbulent market
12-1. Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin 12 Return, Risk, and the Security Market Line.
Stocks, Stocks, Stocks. How can you track the value of stocks? Stock quotes are used to track how stocks are performing in the market.
Business Finance Michael Dimond. Michael Dimond School of Business Administration Introduction What this class will cover How do I get an A in this class?
Analysis of Complex Systems John Sherwood Period 2.
CHAPTER 9 Investment Management: Concepts and Strategies Chapter 9: Investment Concepts 1.
19-1. Why should we save? Savings and Investment Basics Savings and investment activities Savings is the storage of money for future use. Try to deposit.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Copyright © 2011 Pearson Prentice Hall. All rights reserved. Risk and Return: Capital Market Theory Chapter 8.
1) The council of your town considers the renovation of an old sports center which does not generate any form of income. In its current state, the center.
An Evolutionary Algorithm for Neural Network Learning using Direct Encoding Paul Batchis Department of Computer Science Rutgers University.
Genetic Algorithms and Evolutionary Programming A Brief Overview.
Using GA’s to Solve Problems
Chapter 14 Genetic Algorithms.
Chapter 8 Risk and Return—Capital Market Theory

Genetic Algorithms, Search Algorithms
Vocabulary: (already in your glossary)
Investigating the Black Scholes European Option Valuation Model using Real-Life Applications Nihaar Sinha.
Implementing Black Scholes in Providing Easily-Accessed Objective Stock Predictions Nihaar Sinha.
Presentation transcript:

Implementing Genetic Algorithms in Finance Applications Nihaar Sinha

Abstract This project investigates the use of genetic algorithms in a financial application of portfolio optimization. Genetic algorithms have long been used in optimization problems as well as the financial sector. Banks and hedge funds pay millions of dollars to programmers who can develop the most accurate optimization algorithms. What this project does is try to replicate that development on a very small scale- using only three different companies and 8 total shares in the portfolio. The genetic algorithm considers a number of factors in coming up with the optimized solution. These factors include an evaluation of the price to earnings ratio of the stock, the yield on the stock, and a special weight determining how diversified the portfolio is. While the metrics used are to an extent crude, they serve the purpose of demonstrating how a concept such as genetic algorithms can be used in the field of finance.

What are Genetic Algorithms? Search technique used to find exact and approx. solutions Used in optimization and search problems “Evolutionary algorithim” Inheritance, Crossover, Mutation, Crossover Four phases: initialization, selection, reproduction, termination

Similar Research Genetic Algorithms have been used in finance for years “Genetic Algorithm Optimisation for Finance and Investment” by Robert Pereira is a good paper to explain fundamentals of financial genetic algorithms This project is similar in that it uses a simple example to describe applied mathematics

Reading in Data Source code is imported from the Internet Data is parsed for keywords Last Trade: “ P/E :“ :

Reading in Data (cont.) Parsing data means source must be permanent Source utilized is Yahoo! Finance Snapshot of what the Yahoo! Finance interface looks like

Genetic Algorithm e001.gif

Genetic Algorithm User picks 3 stocks Stocks are assigned “point value” based on 3 metrics Metrics are P/E closeness to 16, yield, and diversification

Genetic Algorithm (cont.) Random combinations of 8 shares amongst 3 stocks are generated Combinations are ranked, and bottom half are eliminated Top half are crossed over and re-ranked Process continues until one solution remains 10/29/09

Class Structure The Main method prompts for the stock symbols and sends them to the Rank class for data mining and generation Rank class imports data, calculates it, and formats it Main method receives the data and runs the genetic algorithm

Problems Run Into How exactly to parse through all the data and find the relevant information How to organize the program to make it less cluttered How to form combinations that can be crossed over Training the algorithm to return the ideal result every time

Solutions After inspecting the source, relevant data is always followed by a specific tag User prompted for information through JDialog boxes Combinations turned into permutations, with 8 total shares Ideal result can be pre-derived, and algorithm can then be coached to find the right solution.

Future Research Potential Using different metrics to rank portfolio combinations Changing rank system to real-time structure, allowing buy and sell triggers Incorporating past performances into ranking method as another metric Graphing results to provide accuracy percentage to user