19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Co-evolutionary Heterogeneous Artificial Stock Markets Serafín Martínez.

Slides:



Advertisements
Similar presentations
Agent-based Financial Markets and Volatility Dynamics Blake LeBaron International Business School Brandeis University
Advertisements

Some recent evolutions in order book modelling Frédéric Abergel Chair of Quantitative Finance École Centrale Paris
Artificial Payment Card Market: A Multi-Agent Approach Biliana Alexandrova-Kabadjova, CCFEA, EssexCCFEA Edward Tsang, CCFEA, EssexCCFEA Andreas Krause,
Market Mechanism Analysis Using Minority Game Market Models
A real-time adaptive trading system using Genetic Programming QF5205 : Topics in Quantitative Finance Donny Lee Nadim Mouchonnet.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 10 Information and Financial Market Efficiency.
Asymmetric Information and Bubbles: An Experiment Michael Brandner Jürgen Huber Michael Kirchler Matthias Sutter all University of Innsbruck.
Adam Arsenault Department of Agricultural Economics University of Saskatchewan UNIVERSITY OF SASKATCHEWAN Saskatoon, Saskatchewan, Canada.
Behavioral Finance and Technical Analysis
Transactions Costs.
X-CAPM: An extrapolative capital asset pricing model Barberis et al
Business plan overview (1)
Evolving Long Run Investors In A Short Run World Blake LeBaron International Business School Brandeis University Computational.
HIA and Multi-Agent Models ●New paradigm of heterogeneous interacting agent models (Reviewed in Markose, Arifovic and Sunder (2007)) ●Zero intelligence.
A Heuristic Bidding Strategy for Multiple Heterogeneous Auctions Patricia Anthony & Nicholas R. Jennings Dept. of Electronics and Computer Science University.
Outline Yesterday: Computational complexity of pure exchange Today: Beyond pure exchange –Simple ‘production’: Sugarscape –Finance: --> Monday 0 th generation:
1 Indirect Estimation of the Parameters of Agent Based Models of Financial Markets Peter Winker Manfred Gilli.
Coordination, Intermittency and Trends in Generalized Minority Games A.Tedeschi, A. De Martino, I. Giardina (to be published in Physica A) How the MG would.
Mr. Perminous KAHOME, University of Nairobi, Nairobi, Kenya. Dr. Elisha T.O. OPIYO, SCI, University of Nairobi, Nairobi, Kenya. Prof. William OKELLO-ODONGO,
The “make or take” decision in an electronic market: Evidence on the evolution of liquidity Journal of Financial Economics 75, 2005 Robert Bloomfield,
FINANCIAL ECONOMETRICS FALL 2000 Rob Engle. OUTLINE DATA MOMENTS FORECASTING RETURNS EFFICIENT MARKET HYPOTHESIS FOR THE ECONOMETRICIAN TRADING RULES.
A behavioral Model of financial Crisis Taisei Kaizoji International Christian University, Tokyo Advance in Computational Social Science National Chengchi.
The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI
Experiments in Economic Sciences1 Charting The Market: Fundamental and Chartist Strategies in a Participatory Stock Market Experiment László.
Chapter 7 The Stock Market, The Theory of Rational Expectations, and the Efficient Market Hypothesis.
Agent-based Simulation of Financial Markets Ilker Ersoy.
Repository Method to suit different investment strategies Alma Lilia Garcia & Edward Tsang.
McGraw-Hill/Irwin © 2007 The McGraw-Hill Companies, Inc., All Rights Reserved. Behavioral Finance and Technical Analysis CHAPTER 19.
Agro Products: Spread Strategies & Basis Pricing
Barrow Boys (and Girls!) with Degrees The Theory and Practice of Equity Trading.
Warrants On 30 th October Warrants Warrant Types  Warrants are tradable securities which give the holder right, but not the obligation, to buy.
PERIODICALLY COLLAPSING BUBBLES Anderson, Brooks & Tsolacos ERES 2009 page 1 Detecting periodically collapsing bubbles in securitized real estate European.
May 29, 2003.NEU2003, Venice, Italy1 An Early Agent-Based Stock Market: Replication & Participation László Gulyás ( ) Computer and Automation.
1 Information Aggregation and Investment Decisions by Elias Albagi, Christian Hellwig, and Aleh Tsyvinnski Comment: Frank Heinemann Technical University.
Effect of Learning and Market Structure on Price Level and Volatility in a Simple Market Walt Beyeler 1 Kimmo Soramäki 2 Robert J. Glass 1 1 Sandia National.
16 October 2015All Rights Reserved, Edward Tsang Computing Intelligence Meets Forecasting Forecasting System Predictions, in the form of: prices opportunities.
(Econ 512): Economics of Financial Markets Chapter Two: Asset Market Microstructure Dr. Reyadh Faras Econ 512 Dr. Reyadh Faras.
Explaining the statistical features of the Spanish Stock Market from the bottom-up. José A. Pascual, Javier Pajares, and Adolfo López. InSiSoc Group. Valladolid.
The Theory of Capital Markets Rational Expectations and Efficient Markets.
DEVELOPING A BUSINESS PLAN:
The stock market, rational expectations, efficient markets, and random walks The Economics of Money, Banking, and Financial Markets Mishkin, 7th ed. Chapter.
McGraw-Hill/Irwin Copyright © 2001 by The McGraw-Hill Companies, Inc. All rights reserved Market Efficiency Chapter 11.
Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
Investment in Long term Securities Investment in Stocks.
Oliver Hein, Goethe University, Frankfurt, Financial Agent-based Computational Economics (FINACE) Kommunikations-Netzwerk-Topologie und Marktverhalten.
Lecture 15: Rational expectations and efficient market hypothesis
Levy, Solomon and Levy's Microscopic Simulation of Financial Markets points us towards the future of financial economics." Harry M. Markowitz, Nobel Laureate.
CHAPTER 11: Money Demand and the Equilibrium Interest Rate.
Chapter 10 Market Efficiency.
1 Lecture 12 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
Stock market forecasting using LASSO Linear Regression model
Copyright © 2002 Pearson Education, Inc. Slide 10-1.
1 MT 483 Investments Unit 5: Ch 8 and 9. Copyright © 2011 Pearson Prentice Hall. All rights reserved. 8-2 Steps in Valuing a Company Three steps are necessary.
The highly intelligent virtual agents for modeling financial markets G. Yang 1, Y. Chen 2 and J. P. Huang 1 1 Department of Physics, Fudan University.
IV. Conclusions Model analyzing based on kurtosis diagram and Hurst exponent diagram suggests that the percentage of momentum investors in Chinese stock.
Djohan Wahyudi Supervised by: Prof. Dr. Pericles A. Mitkas Vivia Nikolaidou 1.
IV. Conclusions In summary, we have proposed and studied an agent-based model of trading incorporating momentum investors, which provides an alternative.
A controllable laboratory stock market for modeling real stock markets Kenan An, Xiaohui Li, Guang Yang, and Jiping Huang Department of Physics and State.
University of Essex Alma Lilia García Almanza Edward P.K. Tsang Simplifying Decision Trees Learned by Genetic Programming.
Evolving Decision Rules (EDR)
An Investigation of Market Dynamics and Wealth Distributions
Behavioral Finance Unit II.
Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Market Hypothesis.
FIN 377: Investments Topic 10: Behavioral Finance and Technical Analysis Larry Schrenk, Instructor.
CONNECTING SIMULATIONS WITH HUMAN SUBJECT EXPeriments
Li Wang Ross School of Business Ann Arbor, MI 48105
Dynamical Agents’ Strategies and the Fractal Market Hypothesis
Concepts and Objectives of Cost Accounting
Ising game: Equivalence between Exogenous and Endogenous Factors
Behavioral Finance and Technical Analysis
Presentation transcript:

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Co-evolutionary Heterogeneous Artificial Stock Markets Serafín Martínez Jaramillo Edward Tsang CCFEACCFEA, Essex

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Research Summary Ref: AI-ECON, Giardina et al 2003, other marketsAI-ECONGiardina et al 2003other markets Questions:  How does the price change?  What is the effect of learning by traders? Artificial Market endogenous EDDIE Fundamental EDDIE Noise Polymorphic CHASM Platform

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Overview EDDIE Agents Agents evolve Heterogeneous beliefs Example agent Agents: technical, fundamental, noise or hybrid (mode switching) Experimenter controls the number of agents in each group

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Experimenter’s controls Users have control over: Market Mechanisms Number of traders Etc.

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Heterogeneity LIMIT ORDERS FUNDAMENTALIST % TO TRADE INDICATORS COMPUTING POWER TIME & RETURN LEARNING No Agents learn: Periodic Periodic ¦ Red QueenRed Queen Homogeneity Heterogeneity Homogeneity Heterogeneity Homogeneity 50% 100% Partial ¦ Complete No Buy ¦ Sell No Base Case for Stylized Facts  Seven dimensions explored

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Summary of Base Case Agents must be competent and use balanced training data (realistic expectation) Presence of fundamental traders needed Limit orders (trading strategies) essential % traded and time & return matter Heterogeneous computing power and beliefs not essential

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo A condition for stylized facts Limit OrderYesNo Fundamental Traders Partial / Complete No Computing Power HomogeneousHeterogeneous % to Trade50%100% IndicatorsHeterogeneousHomogeneous Time & ReturnHomogeneousHeterogeneous Evolving agentsNoYes

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Learning Improves Performance

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Learning under Red Queen

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Prices and Returns

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Artificial Finance Market Conclusions Platform developed –It supports a wide range of experiments Conditions for stylized facts identified in endogenous, realistic market Agents must be competent and realistic –Some must observe fundamental values Learning agents (EDDIE-based): –Statistical properties of returns and wealth distribution changed –No need for fundamental trader!

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Co-evolutionary Heterogeneous Artificial Stock Market Details and Explanations

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Market Details Assets Market Mechanism Excess Demand Rationing Wealth Dynamics GIARDINA, I.A. and J.P.A. BOUCHAUD, Bubbles, crashes and intermittency in agent based market models. The European Physical Journal B-Condensed Matter, Vol.31, Bubbles, crashes and intermittency in agent based market models

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Assets The market participant i will be able to hold at time t, two different types of assets: –a risky asset, denoted by h i (t) or –cash, denoted by c i (t) The stock price at time t will be denoted by P(t)

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Market Mechanism Agent i will take decision d i (t) at time t : d i (t) = 1 to buy d i (t) = –1 to sell d i (t) = 0 to do nothing Agent i makes a bid or offer of a fraction q i (t) of its current holding: g is a parameter c i is cash h i is stock holding p is price of stock

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Excess Demand The aggregated volume of bids: B(t) The aggregated volume of offers: O(t) Excess demand: D(t) Price is calculated in the following way: ( λ is a parameter):

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Rationing The amount of shares that the agent i will actually buy or sell is:

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Wealth dynamics Finally we can update the traders’ holdings of cash and the risky asset:

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Traders Details and Explanations

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Evolving Agents Evolution: –The wealth of an investor is the main factor to search an improvement on his prediction rules (Red Queen dynamics) Benchmark and calibration: –Stylised facts Time: –Discrete time jumps

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Example Agent ITE BuyITEAnd = SellHold = Not < MV_ TRB_ VOL_

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Traders Heterogeneity Noise traders –Homogeneous Fundamentalists –Departure from the fundamentals T –Threshold value  Technical traders –Computational Capabilities –Indicators set –Rate of return and time horizon –Fundamental behavior –Limit orders

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Traders The market is composed by technical, fundamental and noise traders. We define N T as the number of technical traders, N F as the number of fundamental traders, N N as the number of noise traders and N as the total number of traders in the market.

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Noise traders The noise traders will take a decision to buy, sell or do nothing with different probabilities, p b, p s and p n respectively. Such probabilities are defined before the simulation and remain with the same value during the simulation.

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Fundamentalists They will change their position on the risky asset if the price departs from a value that they perceive as the fundamental one. These traders will continue to adjust their positions until such difference T, is lower than a certain threshold value  Farmer 1998 . The above mentioned values will be generated for each individual trader by drawing random numbers from uniform intervals [Tmin, Tmax] for T and [  min  max] for . –These limits of such intervals are user specified.

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Technical traders Technical analysis is a key feature of the behavior of these agents. Technical analysis is an important tool for decision making in investment. Besides, there is strong evidence that technical analysis is being used extensively in financial markets. We are not restricted to use just technical indicators. We use some momentum indicators as well. EDDIE is the basic framework to the design of the investment strategy of our agents

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Technical traders The technical traders forecast if the price is going to rise by a certain r% within a certain number of days n. They will be equipped with up to eight different technical and momentum indicators. Under certain circumstances they will be able to behave like fundamentalists.

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Limit orders A realistic investment strategy was necessary to complete the design of the agents. For that reason, limit orders were created as part of their exit strategy. –Orders to buy or sell at certain prices The technical traders can generate two types of limit orders: –Profit taking –Stop loss

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo CHASM Results

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo Artificial Financial Markets Santa Fe Artificial Stock Market Zero Intelligence Agents Minority Game Microscopic simulation Econo-physics Genetic Programming Neural Networks Learning Classifier Systems

19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo GP Markets comparison AI-ECON –Price based on excess demand (Farmer’s work) –Each tree is an agent –Business School: Fixed retraining periodicity (exogenous) –Notion of ranking CHASM –Price based on excess demand –Each Trader has a population of trees –Fixed periodicity and “Red Queen” dynamics (endogenous) –Relative Wealth drives the desire to improve

No Limit Order 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

No Fundamental Trader 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

Heterogeneous Computing Power 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

Trading 100% of capital 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

Homogeneous Indicators 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo

Heterogeneous time and return 19 October 2015All rights reserved, Edward Tsang & Serafin Martinez jaramillo