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.
Prescriptive Analytics Part I Nick Gonzalez, 2/10/14.
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Interbank Market Liquidity and Central Bank Intervention Franklin Allen Elena Carletti University of Pennsylvania University of Frankfurt and CFS Douglas.
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
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
1 (of 35) FIN 200: Personal Finance Topic 21–Diversification and Portfolio Theory Lawrence Schrenk, Instructor.
Risk and Rates of Return
Data Mining CS 341, Spring 2007 Genetic Algorithm.
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 14 Genetic Algorithms.
Basic Tools of Finance Finance is the field that studies how people make decisions regarding the allocation of resources over time and the handling of.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Investing on Hope? Growth Investing & Small Cap Investing Aswath Damodaran.
Socially Responsible Investing (SRI) Value-Based or “Ethical” mutual funds: –Create screens to prevent investment in organizations that promote or participate.
The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI
Presented by: Lauren Rudd
Interpreting securities tables
Genetic Algorithm.
Stock Market Terms Updates for the previous lectures.
Implementing Genetic Algorithms in Finance Applications Nihaar Sinha.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
C. Benatti, 3/15/2012, Slide 1 GA/ICA Workshop Carla Benatti 3/15/2012.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Solving the Concave Cost Supply Scheduling Problem Xia Wang, Univ. of Maryland Bruce Golden, Univ. of Maryland Edward Wasil, American Univ. Presented at.
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.
Online Financial Intermediation. Types of Intermediaries Brokers –Match buyers and sellers Retailers –Buy products from sellers and resell to buyers Transformers.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
A Genetic Solution to the Travelling Salesman Problem Ryan Honig.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 3 1 Searching the Web Using Search Engines and Directories Effectively Tutorial.
1 Chapter 14 Genetic Algorithms. 2 Chapter 14 Contents (1) l Representation l The Algorithm l Fitness l Crossover l Mutation l Termination Criteria l.
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?
Analyzing Financial Statements
Marketing Horticulture Products. Next Generation Science/Common Core Standards Addressed! HSNQ.A.1 Use units as a way to understand problems and to guide.
 Enhancing User Experience  Why it is important?  Discussing user experience one-by-one.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
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:
CS 8625 High Performance Computing Dr. Hoganson Copyright © 2003, Dr. Ken Hoganson CS8625 Class Will Start Momentarily… CS8625 High Performance.
Stocks, Stocks, Stocks. How can you track the value of stocks? Stock quotes are used to track how stocks are performing in the market.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Evolving Cutting Horse and Sheepdog Behavior on a Simulated Flock Chris Beacham.
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.
BUS 650 Entire Course FOR MORE CLASSES VISIT BUS 650 Week 1 DQ 1 The Role of Financial Management in a Firm BUS 650 Week 1 DQ 2 Short.
Genetic Algorithms and Evolutionary Programming A Brief Overview.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Intelligent Exploration for Genetic Algorithms Using Self-Organizing.
Stocks, Stocks, Stocks How can you track the value of stocks?
Using GA’s to Solve Problems
Chapter 14 Genetic Algorithms.
Chapter 8 Risk and Return—Capital Market Theory

Genetic Algorithms, Search Algorithms
Investigating the Black Scholes European Option Valuation Model using Real-Life Applications Nihaar Sinha.
Boltzmann Machine (BM) (§6.4)
MODULE 3 THE NEXT BIG THING Lesson 3.2 Stocks, Stocks, Stocks.
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

Genetic Algorithm e001.gif

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 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.

How has my hypothesis changed? Focus has shifted to applying genetic algorithms in finance Concentration on educational purposes and helping explain how applied mathematics play a role in finance Testing has shown that the best way to import data is through importing the source code and not trying to download files

Progress since 2 nd Quarter Program now includes genetic algorithm Better class structure and code organization Several more complex data structures introduced Matrices Arrays Genetic Algorithm