Djohan Wahyudi Supervised by: Prof. Dr. Pericles A. Mitkas Vivia Nikolaidou 1.

Slides:



Advertisements
Similar presentations
SEPTEMBER 10, 2008 ROBERT RUBIN Credit Spreads Earn Income from Options with Limited Risk.
Advertisements

Chapter 10-Section 3 Strategies for Saving and Investing.
FINANCIAL MANAGEMENT I AND II
What are CFD’s In finance, a contract for difference (CFD) is a contract between two parties, typically described as "buyer" and "seller", stipulating.
Basic Option Trading Strategies. Definition What is an option? The option is a right to buy 100 shares, or to sell 100 shares. Every option has four specific.
Welcome! April 11,  Options Continued  Stock Recap.
Sponsor: Dr. K.C. Chang Tony Chen Ehsan Esmaeilzadeh Ali Jarvandi Ning Lin Ryan O’Neil Spring 2010.
Chapter © 2010 South-Western, Cengage Learning Investing in Mutual Funds, Real Estate, and Other Choices Investing in Mutual Funds 14.
Using Options to Enhance Marketing
What is the Bid price of the stock? Bid Price – represents the highest amount that an investor is currently willing to pay to acquire a board lot of shares.
Investing in your future. What is INVESTORS OF TOMORROW? Investors of Tomorrow strives for excellence in fulfilling the mandate of providing financial.
Ido Bercovich Dikla Mordechay Lilach Tesler Academic Advisor: Dr. Yuval Alovici Professional Advisor: Dr. Mayer Goldberg Trading Champions A Application.
Rotman Interactive Trader RIT Software for simulated trading.
The Penn-Lehman Automated Trading Project Michael Kearns Computer and Information Science University of Pennsylvania PLAT development team: Luis Ortiz,
Equities Rob Graffeo Dec 14, What is a stock?
Managing Your Investments Chapter 11 Notes Money Management Got the Safety Net, Now What…? Once you’ve got a bit of emergency cash stashed away in some.
1 Investments: Prices and Great Investors Business Administration 365 Professor Scott Hoover.
Mr. Lange - Economics.  Welcome to Mr. Lange’s Stock Market Simulation!  As members of an investment group, you will be competing against one another.
Copyright ©2004 Pearson Education, Inc. All rights reserved. Chapter 18 Asset Allocation.
Kathy Pilon, Broker Realty Executives Cold Lake Ave, Cold Lake, AB T9M 1P
5.1 Savings and Investing 5.2 The Rule of 72 Getting Started.
Explain causes of stock price fluctuations. Where Did the Terms Come From? The bear and bull markets are named after the way in which each animal attacks.
Spreadsheet Demonstration
Chapter 6 Saving and Investing. Section 6-1: Why Save?  Deciding to save  People save for purchases that require more funds than available, for emergencies,
Power Income Portfolio For more information call:
S LIDE 1.1 The Language of Financial Markets Quiz Bowl Game Board Invest in This Potent Investments Index or Exchange Earn It Who am I? Financial Markets.
Installment Plans and Stocks Causes of the Great Depression.
McGraw-Hill/Irwin © 2007 The McGraw-Hill Companies, Inc., All Rights Reserved. Behavioral Finance and Technical Analysis CHAPTER 19.
INTELLIGENT SYSTEMS BUSINESS MOTIVATION BUSINESS INTELLIGENCE M. Gams.
Risk and Derivatives etc. Dr Bryan Mills. Traditional (internal) methods of risk management External: – banks, etc e.g. hedge, options, forward contracts.
10/7/ Financial Economics Chapter /7/ Financial Investment Economic investment Paying for new additions to the capital stock or new.
$$$. Bank’s income portfolio Fee Based Income - Also called Interest Income A A Accepting Deposits and Lending Loans at Different Interest Rates B B Deposit.
1 International Securities Exchange. 2 Stock Repair Strategy Alex Jacobson ISE Education.
A Beginner’s Efforts Iron Condors ITM Diagonals. A Beginner’s Efforts Disclaimer! I am a beginner and only offer my current understandings. I make no.
IMS 6485: Auctions, Portals, & Communities 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Common themes Dynamic.
Sponsor: Dr. K.C. Chang Tony Chen Ehsan Esmaeilzadeh Ali Jarvandi Ning Lin Ryan O’Neil Spring 2010.
Investment Vs Trading. Investment Basics Why People Invest in Financial Markets To achieve financial goals To increase income To gain wealth and feeling.
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.
Instructions for using this template. Remember this is Jeopardy, so where I have written “Answer” this is the prompt the students will see, and where.
19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Co-evolutionary Heterogeneous Artificial Stock Markets Serafín Martínez.
Understanding how a typical Option Deal is done in the market – Put Option – By Prof. Simply Simple TM I hope the last lesson on ‘Options’ helped you in.
Introduction – Addressing Business Challenges Microsoft® Business Intelligence Solutions.
Financial Management Back to Table of Contents. Financial Management 2 Chapter 21 Financial Management Analyzing Your Finances Managing Your Finances.
1 Agribusiness Library Lesson : Hedging. 2 Objectives 1.Describe the hedging process, and examine the advantages and disadvantages of hedging. 2.Distinguish.
Intro to Options. What is an Option? An option is a contract that gives the owner the right, but not obligation, to buy or sell a specified number of.
11-1 Yes, But What Does It Cost? Price is the value that customers give up or exchange to obtain a desired product Payment may be in the form of money,
Securities Markets Chapter 3 Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
1 Agribusiness Library Lesson : Options. 2 Objectives 1.Describe the process of using options on futures contracts, and define terms associated.
Research and Evaluation 4.1 INVESTMENT PRINCIPLES.
Soft Computing methods for High frequency tradin.
Random Thoughts for Investing You can make money without gambling.
Spending, Saving, and Investing. Rational Decisions and Financial Planning Economist assume that, given enough information, most people are rational and.
QUANTIFIED MOVING AVERAGE STRATEGY OF CRUDE OIL FUTURES MARKET BASED ON FUZZY LOGIC RULES Xiaojia Liu Haizhong An Lijun Wang School of Humanities and Economic.
Chapter 6.2 Investing: Taking Risks With Your Savings.
Misconception: Price is the same thing as cost. What is a pricing strategy?
TECHNICAL ANALYSIS.  Technical analysis attempts to exploit recurring and predictable patterns in stock prices to generate high investment returns.
There are two rules for ultimate success in life: (1) Never tell everything you know.
Comments from Instructor: A detailed yet analytical paper, which puts class materials into good application, and takes one step further, if simple, to.
Chapter 3 Insurance, Collars, and Other Strategies.
Misconception: Price is the same thing as cost. What is a pricing strategy?
To be or not to be an investor? Kairat Mynbaev ISE-KBTU.
Multi-Agents System CMSC 691B Gunjan Kalra Peter DSouza.
DCX on B-School. Technical Analysis 101 : Session 1 Josheph Adhikari Dipendra Banskota DCX On B-School.
A Journey into Stock Markets 1.  What is Stock?  How trading happens?  How to trade in stocks?  Kinds of Trades  Basic Terms and terminologies 2.
Baranalyzer.com. Lee Leibfarth is a trader, author and developer for PowerZone Trading, a company that he cofounded in 2004 to provide services to active.
INTELLIGENT SYSTEMS BUSINESS MOTIVATION BUSINESS INTELLIGENCE
Introduction to Business Lecture 29
1 How To Generate Monthly Cash Flow And Purchase Stocks At A Discount Using Two Low-Risk Option Strategies Covered Call Writing and Selling Cash-Secured.
Chapter 14 Sourcing Decisions in a Supply Chain
Chapter 14 Sourcing Decisions in a Supply Chain
Presentation transcript:

Djohan Wahyudi Supervised by: Prof. Dr. Pericles A. Mitkas Vivia Nikolaidou 1

Background  Richest Men in the world 1. Carlos Slim Helu ○ Net Worth: $53.5 billion ○ Source: Telecom 2. Bill Gates ○ Net Worth: $53 billion ○ Source: Microsoft 3. Warren Buffett ○ Net Worth: $47 billion ○ Source: Investments  Software Agents combine the field of these richest men in the world 2

Goal and Purpose  Goal : To create a software agent that will make profit and avoid loss  Minimal Achievement : Succeed in building the parser and the simulator  Maximal Achievement : Succeed in finding the agent that wins a lot of money 3

Software Agents  A Software Agent is a computer program which works toward goals in a dynamic environment on behalf of another entity, possibly over an extended period of time, without continuous direct supervision or control, and exhibits a significant degree of flexibility and even creativity in how it seeks to transform goals into action tasks. (  A Software Agent is a piece of software that acts for a user or other program in a relationship of agency (wikipedia)  Intelligent Agent (IA) is an autonomous entity which observes and acts upon an environment (wikipedia) 4

Stock Market  Double Auction Market Seller : Ask Order Buyer : Bid Order  Stock Market Transaction Guarantees the Seller will get the money he asks for. Guarantees the Buyer will get the stock by paying not more than the price he wants to buy  Analysis Fundamental Analysis Technical Analysis 5

Penn Lehman Competition  Competition for Stock Market Agents ( )  Built a simulator that is called Penn Exchange Simulator (PXS)  Using Real Stock Market data from the island website  The agent will have unlimited amount of money and can perform short, but the agent needs to put the money balance into 0 in the end of the day 6

Data from BATS website 7

Architecture BATS Website Parser Historical Data ExtractorExecutorAgent Simulator Analyzer Result Analysis Simulation Data 8

Extractor Calculation 5 Seconds200 Shares in Transaction List - Create the Order 200 Shares in Total Volume Same Number of Shares = Don’t do anything Input all the order in database 9

Several Changes in Developing Executor Order Transaction Extractor The Parser responsible for putting the order based on the history Executor Agent After finding the match order it will execute it and put it in Transaction Order History Order History Executed by the time range and the Order executed by looking from Transaction No Need to Query anymore from Transaction table because if the order is executed it will be deleted 10 The Agent puts the order based on its algorithm The Executor will get the orders and choose the ones that haven’t executed by looking at Transaction

Agent  Should produce Ask and Bid Orders  Take the decision based on the algorithm being used  Can use several algorithms for the decision making, using majority result Algorithm  Will have access to all the necessary data. (Time, Price, Order)  Need to give result to agents and produce the decisions (Buy, Sell or Do nothing) 11

Algorithms 1. Up Buy Down Sell 2. Reverse Strategy 3. Trend Following 4. Average Order 5. Static Order Book Imbalance (SOBI) 6. Volume Average Weighed Price (VWAP) 7. Market Making 8. Jump and Dump 9. Moving Average 10. Momentum 11. Reverse Momentum 12. Channel Breakout 13. Reverse Channel Breakout 14. Buy Low Sell High 12

Basic Condition  To avoid loss the agent should not sell the stock at a lower price than it bought  Selling condition applied to agents price >= min(history price)  Average Order better without the condition 13

Reverse Strategy  Condition Price Going Down : Buy Price Going Up : Sell  Proven in (Feng and Stone, 2004) to be a good strategy. It was also confirmed in the first simulation.  Even though it looks like against the logic, it is a good strategy because of the fluctuation behavior of stock market. 14

Average Order  It calculates the average of the order, which is considered the actual price  Condition If the average order > price then ○ Buy the stock If the average order < price then ○ Sell the stock  This algorithm is considered capable of predicting whether the stock market price will go up or down (from investigating with the basic condition) 15

Channel Breakout  Condition Buy : If the price is higher than maximum price Sell : If the price is lower than minimum price  It was not that good in comparison with other agents in the first simulation (7 th in rank)  It was the second highest in minimum daily which means that the algorithm can help the agent to avoid risk. 16

Market Making  It is a popular algorithm in Penn Lehman Competition  How it works : Create 2 orders every time it makes the transaction The middle value : current price The range : desired profit Create ○ Ask Order : current price * desired profit ○ Bid Order : current price * desired profit If both orders executed, it will have the desired profit 17

Jump & Dump  It was the winner of Penn Lehman Competition in May 2005  Original algorithm 1. Buy lots of shares 2. Buy all the shares in ask book. Calculate Jump Price. Place a pair of buy/sell orders for just one share each close to the jump price. 3. Continue to buy any shares in the ask book that are priced lower than the jump price, and keep placing small buy/sell orders close to the jump price. Continue this behavior for 40 minutes. 4. Sell off all shares until cash level = gross Profit. 18

Jump & Dump  Simplified algorithm : 1. Buy Stock 2. Calculate the jump price with desired profit 3. Sell the stock  It was considered the best algorithm in the first step simulation and second step simulation.  It reached $259,094 from $100,000 in 2 months when it ran alone. 19

20

21

22

23

5 Best Combinations in 1 Simulation RankAgent Overall Result Profit 149-9,510, ,5,4,1310, ,3,12,510, ,3,5,1310, ,3,12,1310,04848 RankAgent Overall Result Profit 132-9,3,5,13277,196177, ,5219,805119, ,5,4,13210,130110, ,3,12,5123,05923, ,3,12,13108,6658,665 24

10 Best Combinations in 1 Simulation RankAgent Overall Result Profit 12311,467 1, ,202 1, ,112 1, , , , , , ,03536 RankAgent Overall Result Profit ,430124, ,588 99, ,100 83, ,602 80, ,011 48, ,407 9, ,590 1, ,1861, ,0901,090 25

When Stock Is Going Down Agent Start Money DateOverallStockLoss% 4910,0001/22/20109, /29/20109, ,0001/22/201099, /29/201098, ,0001/22/20109, /29/20109, ,0001/22/201099, /29/201099,

Conclusions  The project has built the simulator that can represent a real stock market environment using real stock market data.  The combination of simple algorithms that works well in stock market has been found (Agent 32) Jump & Dump : Take advantage when the price is going up Average Order : Know whether the price will go up or down Reverse Strategy : Take advantage of fluctuation behavior of stock market Channel Breakout : Keep the risk low  The agent can gain a lot of money (230 % from $100,000 in 2 months, 11% from $10,000 in 2 months) avoid loss (less than 0.1 % per day) 27

Future Work  Try to do the research with more data and time.  Consider to use Data Mining Fuzzy Logic Neural Networks  Consider to include Option ○ The only way to gain money when the price is going down News ○ Can avoid risk if there are major issues Fundamental Analysis ○ Should know which company is good to invest on  Try to connect the agent to real stock market 28

Any Questions … ??? 29