760 likes | 780 Views
Explore agent-based model simulation of double-auction markets, market microstructure, experimental designs, and results in this comprehensive report.
E N D
Agent-Based Models of Financial Markets : A Comparison with Experimental Markets Chan, Lebaron, Lo and Poggio 報告人 王淑卿 2001年6月15日
Highlight • Introduction • Review of the literature • Experimental design • Experiments • Results and discussion • Conclusions
Introduction(2) • Construct a computer simulation of a repeated double-auction market, to model complex interactions among AI traders endowed with varying degree of learning capabilities.
Introduction(3) • We investigate a number of features of our agent-based model: • the price efficiency of the market • The speed converge to the REE price • The dynamics of the distribution of wealth • Trading volume • Bid/ask spreads
Review of the literature • Market Microstructure • Experimental Markets • Simulated Markets
Market microstructure (1) • This literature provides important background and context for our experiments. • Several important papers that provides motivation and inspiration. 【Garman (1976), Cohen (1983), Hakansson (1990) 】 • The focus of this literature is primary the structure of markets and market-making activities.
Market microstructure (2) • We provide enough market structure to enable our agents to trade with each other. • We also specify the preference and learning heuristics of all market participants. • The interaction of these two sets of specifications that yields the rich implications that we shall describe later.
Experimental markets(1) • In much of this literature, the rational expectations (RE) model has been the main benchmark, and has mixed success in various studies. Insiders Uninformed agents Information dissemination : Informational efficiency Information dissemination Partially informed agents :
Even in heterogeneous preference (REE price) Experimental markets (2) • Conclude that markets disseminate information efficiently.【Plott & Sunder (1982) and Forsythe, Palfrey & Plott (1982)】 • Markets aggregate information efficiently only under:identical preferences, common knowledge of the dividend structure, and complete contingent claims. 【Plott & Sunder (1988) and Forsythe & Lundholm (1990)】 Information aggregation is a more complicated situation
Simulated markets • Computer simulations of markets populated by software agents extend the experimental approach by allowing the experimenter to test various theories of learning behavior and market microstructure in a controlled environment. • Agent-based model can easily accommodate complex learning behavior, asymmetric information, heterogeneous preferences, and ad hoc heuristics.
Experimental Design • Market Structure and Economic Environment • Trading Mechanism • Agents • Learning Mechanism
Market structure and Economic Environment • Simulation structure:double-auction market • Trading subject:single security (pays liquidating state-contingent dividend at the end of a trading period) • Each trading period contains 40 trading intervals. • 75 consecutive trading periods an epoch. • One epoch consists 100 trials. (6 experiments) (Figure 1)
Market structure and Economic Environment(2) • Initialization:state of nature; endowments (cash、stock); private information. • State of nature is random and exogenously determined, and the underlying distribution of the state is common knowledge.【D=(0,1,2)】 • Homogeneous preference : 【D=(0,1,2)】 • Heterogeneous preference: 【Da=(0,1,2)】 【Db=(2,0,1)】 One Motivation for trade
Market structure and Economic Environment(3) • Differences in information about the likely state of nature is the other motive for trade.
Trading Mechanism(1) • A simplified double-auction market. • Agents can either submit a bid ( > posted bid) or ask (< posted ask), or accept a posted bid or ask. • A transaction occurs when an existing bid or ask is accepted (a market order matches a limit order), or when the bid and ask cross( in which case the transaction price is set at the middle of the bid and ask).
Trading Mechanism(2) • Restriction:1.quantity traded to be one share, 2. no borrowing or short selling. • At the beginning of each interval, a specific ordering of all agents is drawn at random (uniformly). • Following this randomly selected ordering, each agent submits one limit or market order.
Agents (1) • Agents design:”zero-intelligence” (Gode and Sunder,1993) • All traders are risk neutral, and they max their end-of-period expected wealth by choosing between cash and stock. • Agents max the end-of-period expected value of their portfolios by forecasting the liquidating dividend (buy if market price < forecast, sell if market price > forecast)
Agents (2) • Agents differ in how they determine the expected value of the stock p* (base price). • Procedure of submitting orders. (table 2) • S: preset maximum spread.
Agents (3) How they construct their forecasts
Learning mechanism • Empirical Bayesian trader • Momentum trader • Nearest-neighbor trader
Empirical Bayesian trader(1) • Condition their beliefs on market information. • Want to compute the expected dividend E(D p0,p1,…,pt). • Assume that most of the relevant information is embedded in the transaction prices of the last k trades.
Empirical Bayesian trader(2) • A k-period moving average of prices mtis used to summarize market information at time t:(k=10)
Empirical Bayesian trader(3) • Given mk,mk+1,……mt and the realized dividend Di, Posterior Distribution Posterior Mean THEN = p* TABLE2
Empirical Bayesian trader(4) • In the actual implementation, the empirical Bayesian traders estimate the conditional density functions by constructing histograms with series of moving-average prices. • Each histogram corresponds to a dividend state. • These histograms give a picture of how well the agents discern different states gives market data.
Momentum trader • Momentum traders are simple technical analysis traders whose forecast of tomorrow’s return is today’s return. • If at time t the two most recent transaction prices are ptand pt-1, then a momentum trader’s forecast of next transaction price is simple pt× ( pt /pt-1 ).
Nearest-neighbor trader(1) • In each period i they from a sequence of n-tuples from the prices: N=5 The number of transactions in the period The market price at time t
Nearest-neighbor trader(2) • and so on represent the “memory” of a nearest-neighbor trader. • Predict the dividend by first observing the most recent n-tuple in the current market, xjt , then finding its r nearest neighbors in terms of Euclidean distance from memory. • The forecast is defined to be the mean of the associated dividends of the r nearest neighbors.
Nearest-neighbor trader(3) • r controls the robustness of the prediction by governing the trade-off between bias and variance of the estimate. • Ifr is too large the estimate is inaccurate. • If r is too small the estimate is noisy and sensitive to individual data points. • Simple trial-and-error r = 10.
Six experiments • Information aggregation and identical preference • Information dissemination and identical preference • Information aggregation and heterogeneous preference • Information dissemination and heterogeneous preference • Empirical Bayesian and momentum traders • Empirical Bayesian and nearest-neighbor traders (Table 1)
table 1:summary of six experiments PI:partially informed; I:insider; U:uninformed 20 PI 10 I, 10U 10 PI 10 PI 5 I, 5U 5 I, 5U PI PI
Results and discussion • Focus • Homogeneous preference • Heterogeneous preference • Momentum traders • Nearest-neighbor traders
Focus(1) • Do prices fully reflect all available information ? • We compare market prices to their REE counterpart by measuring their average absolute price-deviation, and by considering the rate of convergence of pt to D over the epoch.
Focus(2) • In addition, we investigate bid-ask spreads, trading volume, and the wealth distribution across the different types of traders. • Narrowing bid-ask spreads show that prices are converging, implying that buyers and sellers are reaching a common price. • Diminishing volume suggests that the market is approaching its equilibrium.
Focus(3) • The difference in wealth between two types of traders provides an indication of the economic impact of the differences among the traders. The value of insider information
Focus(4) • We also investigate the expectations formed by the agents by examining their empirical conditional density functions of moving-average price given the states. • The agents uses these density functions to distinguish one state from another.
Focus(5) • We define allocative efficiency as the ratio between total dividends earns by all traders and the total maximum dividends that can possibly be extracted from the market. • 100% allocative efficiency implies that all shares are held by traders in the group that receives the highest dividend in the realized states.
Homogeneous preference • The results from our simulation are similar to those in the human-based experimental markets literature.
Figure 2a & 2b:Prices,bid-ask spreads, and volume of experiment 4.1(I A, P homo) Early periods later periods
Figure 2c:Absolute price-deviations of markets prices from the REE price, average over 100repetitions of experiments 4.1 Market efficiency clearly improvessubstantially over the epoch
Figure 2d:Empirical distribution of moving-average prices, conditioned on the state of nature S, in experiments 4.1 3 states are clearly distinguishable by the agents
Figure 3a & 3b:Prices,bid-ask spreads, and volume of experiment 4.2 (I D, P homo) Early periods later periods
Figure 3c:Absolute price-deviations of markets prices from the REE price, average over 100repetitions of experiments 4.2 Prices converges faster (than ex. 4.1) and closer to the REE price
Reasons for difference in ex4.1 & ex4.2 • In ex 4.1 traders must trade with each other to “pool” their information to determine the correct price, whereas in ex 4.2 the insiders know the correct price. • In the former case the distribution of information to the traders is random.
Figure 3d:Empirical distribution of moving-average prices, conditioned on the state of nature S, in experiments 4.2
Figure 3e:Deciles of percentage wealth differences between insiders and uninformed traders in 100 repetitions of experiments 4.2 The value of insider information is diminishing over the epoch as uninformed traders learn 【~Sunder(1992) 】 +:median
Heterogeneous preference(1) • In contrast to the identical-preference cases, the prices in experiments involving diverse preferences do not seem to converge to the REE price. • Because our agents attempt to recover the state of nature from market information alone, and not from the preferences of other agents. REE model fails
Figure 4a & 4b:Prices,bid-ask spreads, and volume of experiment 4.3 (I A, P hetero) Early periods later periods