Mean Reverting Asset Trading

Slides:



Advertisements
Similar presentations
Chapter 11: Financial Markets Section 3
Advertisements

Chapter 4 Return and Risks.
Rest of Chapter 14.  Capital Structure  M&M (Modigliani and Miller) concepts 2.
Fundamentals of Corporate Finance, 2/e
Investing in Stock Mrs. Wilson: Career & Financial Management.
CHAPTER 18 Derivatives and Risk Management
The Asset Market, Money, and Prices
Chapter 5 Inventory Control Subject to Uncertain Demand
Chapter Fourteen Economic Interdependence. Copyright © Houghton Mifflin Company. All rights reserved.14 | 2 Countries are not independent of one another;
Investment Options Part 1.
Back to Table of Contents pp Chapter 31 Investing in Stocks.
Introduction to Stocks Basics of Investing I Spring 2014 Accounting 101` K. Robinson.
Investing Continued.  A stock is a share of a stock  It entitles the buyer to a certain part of the future profits and assets of a corporation selling.
10/7/ Financial Economics Chapter /7/ Financial Investment Economic investment Paying for new additions to the capital stock or new.
Derivative securities Fundamentals of risk management Using derivatives to reduce interest rate risk CHAPTER 18 Derivatives and Risk Management.
3 DEMAND AND SUPPLY © 2014 Pearson Addison-Wesley After studying this chapter, you will be able to:  Describe a competitive market and think about a.
The International Monetary System: Order or Disorder? 19.
Investment Options Part 1. Three reasons to invest Investing helps beat inflation Investing increases wealth Investing is fun and challenging –Opportunity.
Mean Reverting Asset Trading Project Presentation CSCI-5551 Grant Meyers.
Chapter 9 The Cost of Capital. Copyright ©2014 Pearson Education, Inc. All rights reserved.9-1 Learning Objectives 1.Understand the concepts underlying.
Mean Reverting Asset Trading Research Topic Presentation CSCI-5551 Grant Meyers.
WARMUP 5/11: WRITE ON THE BACK OF THE LAST PAGE ON THE NOTES SHEET List at least 2 things that you know about the stock market. Then write 3 questions.
Chapter 15: Financial Markets Opener. Copyright © Pearson Education, Inc.Slide 2 Chapter 11, Opener Guiding Questions Section 3: The Stock Market –How.
Investment Planning Chapter 11. Investing Placing money in some medium such as stocks, bonds or real estate in the expectation of receiving some future.
CPUSH 23 February 2015 To Do: -Bring textbook all week! -Research Paper 4 Pages: 3/4 EQ: What is the stock market and how can I invest wisely? Agenda:
Building a Financial Future UNDERSTANDING OUR FREE ENTERPRISE SYSTEM.
Chapter 13  Exchange Rates and the Foreign Exchange Market:An Asset Approach.
Chapter 11: Financial Markets Section 3: Buying and Selling Stocks pgs
JA Take Stock In Your Future
Unit 5: Saving & Investing
Theme 5: Investments.
Chapter Twenty Two Futures Markets.
CHAPTER 18 Derivatives and Risk Management
Chapter 11: Financial Markets Section 3
Basic Questions about the Stock Market
Chapter 11: Financial Markets Section 3
Chapter 11 Financial Markets.
Chapter 9 The Cost of Capital.
Chapter 18 Asset Allocation
CHAPTER 18 Derivatives and Risk Management
Investing: putting savings to use
Financial Statements, Taxes, and Cash Flows Chapter 2
Portfolio Management Revisited
SWARNAM S/UNIT 1/RISK & RETURN - CBS
Objectives: Content: Understand the basics of how the stock market works and what goes into deciding when to buy or sell. Language: Explain your decision.
Investment Options Part 1.
Chapter 15 Commodities and Financial Futures.
Investment Basics Econ Club - 09/06/2013.
Warm Up What does it mean when a person has stock in a company?
Bell Ringer List as many things that come to mind when you hear the words “stock market” or “stocks.”
Investments: Chapter 11 Section 3
Introduction to Investing
24 Money Demand, the Equilibrium Interest Rate, and Monetary Policy
Mean Reverting Asset Trading
Mean Reverting Asset Trading
Chapter 11 Financial Markets.
JA Take Stock In Your Future
CHAPTER 18 Derivatives and Risk Management
The Fundamentals of Investing
24 Money Demand, the Equilibrium Interest Rate, and Monetary Policy
Investments Consumer Education.
Stock Market Basics Financial Literacy.
Chapter 11 Financial Markets.
Derivatives and Risk Management
Derivatives and Risk Management
Stock Market Basics.
Stock Personal Finance.
Investing in Stocks Chapter 31.
Money, Saving, and Investing
Lecture 4 MUTUAL FUNDS`. Indirect investing Investing indirectly refers to the buying and selling of the shares of investment companies Instead of buying.
Presentation transcript:

Mean Reverting Asset Trading Research Topic Presentation CSCI-5551 Grant Meyers

Table of Contents Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

1. Introduction Asset Definition + Properties of a Mean Reverting Asset

Asset Definition 1. A resource with economic value that an individual, corporation or country owns or controls with the expectation that it will provide future benefit. 2. A balance sheet item representing what a firm owns. This presentation will cover only – stocks which represent an ownership interest in a business. Asset Definitions take from: http://www.investopedia.com/terms/a/asset.asp Due to the vast array of financial instruments that would qualify under the term ‘asset’ I limited this paper to stocks. The paper that I am basing this on does have a chapter associated to using options though.

Properties of a Mean Reverting Asset Needs some level of volatility in price. Needs to vacillate around a center value; rising / falling around a dependable ‘Mean’ value. Needs some level of volatility in price. – obviously if there is no low to buy at and no high to sell at, you can’t make any profit. Preferably a seasonal or otherwise dependable cycle up and down. – Good candidates for this are things like oil company stocks or retailers, as they have ‘good’ and bad seasons. Another is the summertime lul in stock market activity and ‘the earnings’ season when lots of companies are giving good or bad news to their stock holders. High liquidity, being able to buy and sell at optimum prices. – You can’t pick a ‘thinly’ traded stock and expect to dependably hit an expected price. Another problem is ‘spread’ namely, that what people are ‘selling’ for and what people are ‘bidding’ / actually purchasing for. Minimal chance of ‘insider trading’ or other ‘exceptional’ events. – Things like the BP oil spill or the collapse of Enron are good examples of ‘exceptional’ events that cost a lot of people a lot of money.

Properties of a Mean Reverting Asset Required for a good Mean Reverting Asset: Preferably a seasonal or otherwise dependable cycle up and down. High liquidity, being able to buy and sell at optimum prices. Minimal chance of ‘insider trading’ or other ‘exceptional’ events. Needs some level of volatility in price. – obviously if there is no low to buy at and no high to sell at, you can’t make any profit. Preferably a seasonal or otherwise dependable cycle up and down. – Good candidates for this are things like oil company stocks or retailers, as they have ‘good’ and bad seasons. Another is the summertime lul in stock market activity and ‘the earnings’ season when lots of companies are giving good or bad news to their stock holders. High liquidity, being able to buy and sell at optimum prices. – You can’t pick a ‘thinly’ traded stock and expect to dependably hit an expected price. Another problem is ‘spread’ namely, that what people are ‘selling’ for and what people are ‘bidding’ / actually purchasing for. Minimal chance of ‘insider trading’ or other ‘exceptional’ events. – Things like the BP oil spill or the collapse of Enron are good examples of ‘exceptional’ events that cost a lot of people a lot of money.

Examples of a Mean Reverting Asset Chevron over last 5 years

Examples of a Mean Reverting Asset Disney this year

Table of Contents Problem Definition Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

Problem Definition What does ‘Mean Reverting Asset Trading’ encompass?

Core Questions Can you make money from the ‘Stock Market’ by trading? Which companies do you choose? What are the costs?

Problem Components 1 - Timing Can you make money from the ‘Stock Market’ by trading? Maximize profit from buying low + selling high. When do you buy? (A) $10,000 of Netflix (NFLX) bought on 16 Dec 2014 @ $45.21 / share = 221 shares (B) $10,000 of Netflix (NFLX) bought on 6 Aug 2015 @ $126.45 / share = 79 shares When do you sell? (A) 221 shares sold on 6 Aug 2015 @ $126.45 / share = $27,945.45 (+$17,945.45) (B) 79 shares sold on 22 Oct 2015 @ $97.32 / share = $7,688.28 (-$2,311.72)

Problem Components 2 – Options Which companies do you choose? There are 1,868 stocks listed on New York Stock Exchange. There are 3,300 stocks listed on the Nasdaq. There are 1,299 stocks listed on Euronext. This doesn’t even include the Asia markets, nor options, nor mini-options, nor futures, nor private securities.

Problem Components 3 - Costs Transaction Cost Online Self Directed Trade - $8.90 Broker Assisted Trade - $30.99 Opportunity Cost $10,000 of Amazon (AMZN) bought on 24 Oct 2014 sold today is worth $20,367.02 $10,000 of Apollo Education Group (APOL) on 22 Dec 2014 sold today is worth $2,151.8 Emotional Loss Aversion - Humans fear loss much more than possible winnings Price of Amazon pulled on 24 Oct 2015, this was before their latest earnings figures were released; it has sense gone up quite a bit.

Variables + Unknowns Maximize Gain, Minimize Loss Timing the Buy Timing the Sell Minimizing costs There is no obvious solution, no method always works. Hindsight may be perfect, but predicting the future with precision is literally impossible.

Table of Contents Possible Solution 1 Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

Possible Solution 1 Based on analytic solution to asset price prediction algorithm.

ⅆ𝑿 𝒕 = 𝜶 𝜷−𝑿 𝒕 ⅆ𝒕+ 𝝈ⅆ𝑾 𝒕 where 𝑿 𝟎 =𝒙 Possible Solution 1 Using the equation: ⅆ𝑿 𝒕 = 𝜶 𝜷−𝑿 𝒕 ⅆ𝒕+ 𝝈ⅆ𝑾 𝒕 where 𝑿 𝟎 =𝒙 𝛼>0 is the rate of reversion to the mean. 𝛽 is the equilibrium level / mean value. 𝑋 𝑡 is the stock price’s model. 𝜎>0 is the volatility of the asset. 𝜎ⅆ𝑊(𝑡) is the stochastic term causing ups and downs around the mean. Based on a ‘Standard Brownian’ motion. 𝛼 𝛽−𝑋 𝑡 ⅆ𝑡 operates much like Hooke’s law, in that when the price is higher than the ‘equilibrium’ level this term will pull it back down to the mean at the rate of 𝛼. If price is lower than the ‘equilibrium’ level this term will push it back up to the mean at the rate of 𝛼. Stochastic – “The term stochastic occurs in a wide variety of professional or academic fields to describe events or systems that are unpredictable due to the influence of a random variable.“ per Wikipedia. Effectively that is to say that the indeterminate part of the equation is ‘accounted’ for in the stochastic term.

Possible Solution 1 – Analytical Solution Using the equation: ⅆ𝑿 𝒕 = 𝜶 𝜷−𝑿 𝒕 ⅆ𝒕+ 𝝈ⅆ𝑾 𝒕 where 𝑿 𝟎 =𝒙 A solution based on 𝜶 and 𝜷 is possible. In practice, these values are not stable and not that easy to find for a given asset.

Possible Solution 1 – Analytical Solution Buy at x1 and sell at x2 Taken from the Zhang and Zhang paper referenced in the references section. 𝜂(𝑡) is an equation all to itself based on the reward function, and a over time. K is percentage of slippage (loss between execution price and desired price). a the rate of reversion to the mean. b is the equilibrium level / mean value. All this really says is that the optimum buy and sell points are related.

Table of Contents Problem Definition Problems with Solution 1 Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

Problems with Solution 1

Problems with Solution 1 Requires model for underlying asset to set calculation constants and determine the rate of reversion to the mean, and the equilibrium level / mean value. Allows adjustments via main 2 parameters only. Nearly impenetrable math…

Table of Contents Possible Solution 2 / Research Topic Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

Possible Solution 2 / Research Topic Stochastic Approximation Methods and Applications in Financial Optimization Problems - Chapter 2: Mean-Reverting Asset Trading

Mean Reverting Asset Prediction Equation This equation can be used to ‘Predic t ′ a stocks price: ⅆ𝑿 𝒕 = 𝜶 𝜷−𝑿 𝒕 ⅆ𝒕+ 𝝈ⅆ𝑾 𝒕 Instead of using the analytical solution, you can use simulation with actual values and ‘estimate’ a solution.

Components 1 Stochastic Approximation Noise Sources Used to recursively estimate some quantities based on noise corrupted observations. Originally introduced in 1950s. Noise Sources Imperfect sampling period. Multiple trades executing ‘simultaneously’. Sampling technique. Midpoint between bid / sell, or last trade price

Components 2 Model Recursive Stochastic Approximation Equation 𝜃 𝑛+1 = 𝜃 𝑛 + 𝜀 𝑛 𝑋 𝑛 𝜃 𝑛 is an exact parameter of the system. 𝑋 𝑛 is a ‘random’ independent variable of the system and ‘corrupted’ by noise. 𝜀 𝑛 is the step size.

Mean Reverting Asset Prediction Equation - Estimation Testable Estimator: 𝜃 𝑛+1 = 𝜃 𝑛 + 𝜀 𝑛 𝐷 Φ ( 𝜃 𝑛 , 𝜉 𝑛 ) 𝜀 𝑛 is the step size (seconds, minutes, …) 𝐷 Φ ( 𝜃 𝑛 , 𝜉 𝑛 ) is the Gradient of vectors of correlated and uncorrelated noise 𝜃 𝑛 is known data values 𝐷 Φ

Advantages Over Solution 1 No model for the underlying asset. Less rigid, less dependent on human ‘intuition’. Easily updated for new data & ‘paradigm’ shifts in whole sectors. Data for stocks is easily available & in an easily processed format. Model is the a and b values of the prediction equation.

Advantages Over Solution 1, continued Multiple asset data time-resolutions allow for variable scaled action speeds. If broker takes, on average, 10 seconds to execute a trade, having a regression based on faster time would not necessarily work well. Using 24 hour scale data, may allow for a more macroscopic view of the asset’s movement.

Table of Contents Specific Questions to be Answered Introduction + Associated Information Problem Definition Possible Solution 1 Problems with Solution 1 Possible Solution 2 / Research Topic Specific Questions to be Answered

Specific Questions to be Answered 1 Data Sample Related Does the algorithm work when there is a macroscopic change in the overall market? Does changing the training & applying time windows affect the return? How much? Do longer windows fair better or shorter ones? Are there any dependable seasonal fluctuations? Does the asset ‘class’ affect the effectiveness of the algorithm?

Specific Questions to be Answered 2 Performance Related How fast can the Xeon server crunch the numbers? How fast can the Hydra server crunch the numbers? Is there a better way to format the data than the default JSON format? Given the use of common mathematical operations, could they be switched out to a format that uses matrix multiplication?

References Human Loss Aversion - http://www.sciencemag.org/content/313/5787/684 Asset Definition - http://www.investopedia.com/terms/a/asset.asp NYSE Listing Size: https://en.wikipedia.org/wiki/New_York_Stock_Exchange NASDAQ Listing Size: https://en.wikipedia.org/wiki/NASDAQ EuroNext Listing Size: https://en.wikipedia.org/wiki/Euronext Average Online Trading Cost: http://www.valuepenguin.com/average-cost- online-brokerage-trading Zhang and Zhang Reference: Hanqin Zhang, Qing Zhang, Trading a mean- reverting asset: Buy low and sell high, Automatica, Volume 44, Issue 6, June 2008, Pages 1511-1518, ISSN 0005-1098, http://0- dx.doi.org.skyline.ucdenver.edu/10.1016/j.automatica.2007.11.003.