Fig. 1 — Price vs Fundamental Value

Note. Market clearing price (blue) against declining FV (green dashed). Volume as background bars. Core visualization from DLM (2005) Figure 1. Prices above FV indicate bubble; below indicate underpricing.

Fig. 2 — Bid-Ask Spread

Note. Best bid (green) and best ask (red) with shaded spread region. Purple dotted line shows absolute spread. Narrower spreads indicate better price discovery and higher liquidity.

Fig. 3 — P&L Distribution

Note. Final profit-and-loss histogram: experienced (blue) vs inexperienced (red). In bubble markets, experienced agents typically profit at inexperienced agents' expense (DLM §II p.1735).

Fig. 4 — Price Deviation from FV

Note. Per-period percentage deviation (P−FV)/FV. Red bars = overpricing (bubble), green = underpricing. Feeds into NAPD = Σ|P−FV|/(T×FV₀) metric (DLM §II p.1733–1734).

Fig. 5 — Belief Convergence

Note. Sampled agent belief trajectories. Experienced agents (solid) track FV; inexperienced (dotted) may diverge due to bias and anchoring. Convergence indicates information aggregation.

Fig. 6 — Trading Volume

Note. Number of executed trades per period. Higher volume in early periods reflects more disagreement about value. DLM §II p.1735 notes marginally significant turnover increase in mixed-experience markets.

Market Simulation Architecture

Complete pipeline from parameter configuration through CDA market simulation to α* analysis, based on Dufwenberg, Lindqvist & Moore (2005)

Edit in draw.io
Configuration n, T, E[d], α, risk prefs Sidebar parameter panel Seed for reproducibility Population Generator createMarketAgents(params) Experienced α% / Inexperienced (1-α)% CARA risk: ρ ~ type distribution Signal Distribution updateAgentBelief() Experienced → track FV(t) Inexperienced → biased/anchored Continuous Double Auction (T periods) Bid/Ask Submission belief ± noise → orders Order Matching bid ≥ ask → trade Trade Execution cash ↔ shares transfer VWAP + Dividend FV(t) = (T-t)×E[d] ← Repeat for t = 1, 2, ..., T → Bubble Metrics bubbleMetrics(prices, fvs) Haessel-R², NAPD, Amplitude Per-period deviation tracking α* Sweep Analysis runAlphaSweep(params) α: 0% → 100%, find NAPD < threshold α* = f(n, risk, knowledge) Results & Export Charts + Tables + Game JSON / CSV download Trading floor animation Based on Dufwenberg, Lindqvist & Moore (2005) "Bubbles and Experience" — American Economic Review

Declining Fundamental Value

FV(t) = (T − t) × E[d]. The asset's intrinsic value declines linearly as remaining dividend periods decrease, reaching zero at period T.

FV(t) = (T − t) × E[d]
DLM (2005) §I p.1732, fn.5; Smith, Suchanek & Williams (1988)

Continuous Double Auction (CDA)

Market mechanism where agents submit limit orders (bids and asks). A trade executes whenever the highest bid meets or exceeds the lowest ask.

trade iff max(bid) ≥ min(ask)
DLM (2005) §I p.1732, fn.6; Smith (1962); Holt (1995)

Bubble Formation

Occurs when market price significantly and persistently exceeds fundamental value, driven by inexperienced agents' optimism bias and momentum chasing.

P(t) >> FV(t) for sustained t
DLM (2005) §II Fig.1 p.1733; Table 1 p.1734

α* — Critical Experience Threshold

The minimum fraction of experienced agents required to suppress bubble formation below a given NAPD threshold. Central result of this simulation.

α* = min{α : NAPD(α) < ε}
DLM (2005) §II Table 2 p.1735; §III p.1735–1736

CARA Utility

U(W) = −exp(−ρW). Constant Absolute Risk Aversion utility function. Parameter ρ determines risk attitude: ρ > 0 risk-averse, ρ = 0 neutral, ρ < 0 risk-loving.

U(W) = −exp(−ρ · W)
Standard CARA; cf. DLM (2005) fn.5 (risk-neutrality baseline)

Strategic Communication

Agents can send cheap-talk price signals before trading. Lying and deception costs (from Choi et al. 2025) determine signal credibility.

cost = cl·|m−θ| + cd·Δaction
Extension; cf. Choi et al. (2025)

Glossary & Reference

Key Terms

Term Full Name Description
CDAContinuous Double AuctionBilateral trading mechanism where multiple buyers and sellers submit orders simultaneously; matches occur when bid ≥ ask.
FVFundamental ValueIntrinsic asset value FV(t) = (T−t)×E[d], declining linearly to zero. Experienced agents track this; inexperienced may not.
NAPDNormalized Absolute Price DeviationCumulative bubble measure: Σ|P(t)−FV(t)| / (T×FV₀). Higher values indicate larger, more sustained bubbles.
Haessel R-squaredGoodness-of-fit: 1 − Σ(P−FV)²/Σ(P−P̄)². Values near 1 indicate prices track fundamental value closely.
AmpPrice Amplitudemax(P−FV)/FV₀ + |min(P−FV)|/FV₀. Total range of price deviation, capturing both bubble and crash.
α*Alpha StarCritical experienced fraction: α* = min{α : NAPD(α) < threshold}.
CARAConstant Absolute Risk AversionUtility U(W) = −exp(−ρW). Risk pref ρ: positive = risk-averse, zero = neutral, negative = risk-loving.
ExpExperienced AgentTrader who knows FV and adjusts belief to track FV(t) = (T−t)×E[d] each period.
InexpInexperienced AgentFirst-time participant with optimism bias, anchoring, and momentum susceptibility — may overpay for the asset.
VWAPVolume-Weighted Avg PricePer-period average trade price weighted by volume: Σ(Pᵢ×Vᵢ)/ΣVᵢ.
E[d]DividendPer-period stochastic payment drawn from distribution with mean E[d]. Paid to all shareholders each period.
SpreadBid-Ask SpreadDifference between best ask and best bid. Wider spreads indicate lower liquidity.

Mathematical Notation

Expression Meaning Reference
FV(t) = (T−t) × E[d]Fundamental value at period t; declines to 0 at TDLM §I p.1732, fn.5
U(W) = −exp(−ρW)CARA utility function with risk aversion ρStandard; DLM fn.5
NAPD = Σ|P(t)−FV(t)| / (T×FV₀)Normalized absolute price deviation (bubble magnitude)DLM §II p.1733–1734
α* = min{α : NAPD(α) < ε}Critical experience fraction to suppress bubblesDLM §II Table 2 p.1735
R² = 1 − Σ(P−FV)² / Σ(P−P̄)²Haessel R-squared: price tracking qualityDLM §II p.1733; Haessel (1978)
Amp = max↑/FV₀ + |min↓|/FV₀Price amplitude: total swing measureDLM §II p.1734

Plot Descriptions

1

Price vs Fundamental Value

Market clearing price (blue line) against declining FV (green dashed). Volume shown as background bars. Core visualization from Dufwenberg et al. (2005) Figure 1.

2

Bid-Ask Spread

Best bid (green) and best ask (red) with shaded spread region. Purple dotted line shows absolute spread magnitude. Narrower spreads indicate better price discovery.

3

P&L Distribution

Histogram of final profit-and-loss: experienced agents (blue) vs inexperienced (red). In bubble markets, experienced agents typically profit at inexperienced agents' expense.

4

Price Deviation from FV

Per-period percentage deviation (P−FV)/FV. Red bars indicate overpricing (bubble), green bars indicate underpricing. Measures real-time bubble magnitude.

5

Belief Convergence

Sampled agent belief trajectories over time. Experienced agents (solid lines) track FV; inexperienced (dotted) may diverge significantly due to bias and anchoring.

6

Trading Volume

Number of executed trades per period. Optional: lies per period shown on secondary axis when strategic communication is enabled.

Experiment Charts

7

α Sweep Curve

NAPD (blue), amplitude (orange), and Haessel-R² (green) plotted against experienced fraction α. Red vertical line marks α* where NAPD crosses below threshold.

8

α* vs Market Size (n)

Main result chart: how the critical experience threshold α* varies with market size. Each line represents a (risk, knowledge) configuration. Key finding of the α* = f(n, risk, knowledge) analysis.

9

α* Heatmap

Risk composition × knowledge level matrix. Color intensity indicates α*: green (low) to red (high). Shows interaction effects between parameters.

10

α* vs Risk Composition

Grouped bar chart comparing α* across risk distributions for each knowledge level. Reveals how risk-loving populations affect bubble persistence.

Source Papers

ReferenceDescription
DLM (2005)Dufwenberg, M., Lindqvist, T. & Moore, E. “Bubbles and Experience: An Experiment.” American Economic Review, 95(5), pp. 1731–1737. Core paper: shows ⅓ experienced traders sufficient to suppress bubbles in laboratory CDA markets.
SSW (1988)Smith, V.L., Suchanek, G.L. & Williams, A.W. “Bubbles, Crashes, and Endogenous Expectations in Experimental Spot Asset Markets.” Econometrica, 56(5), pp. 1119–1151. Foundational paper on asset market bubbles with declining fundamental value.
Haessel (1978)Haessel, W.W. “Measuring Goodness of Fit in Linear and Nonlinear Models.” Southern Economic Journal, 44(3), pp. 648–652. Defines Haessel-R² used to measure price-FV tracking quality.
King et al. (1993)King, R.R., Smith, V.L., Williams, A.W. & Van Boening, M.V. “The Robustness of Bubbles and Crashes in Experimental Stock Markets.” In Chen, P. (ed.), Nonlinear Dynamics and Evolutionary Economics, pp. 183–200. Bubble measures: NAPD, amplitude.
Choi et al. (2025)Choi, S., Lee, J. & Lim, W. (2025). Strategic communication with lying and deception costs. Defines augmented utility EUa = material − cl·lie − cd·deception. Used in the Communication panel.
Smith (1962)Smith, V.L. “An Experimental Study of Competitive Market Behavior.” Journal of Political Economy, 70(2), pp. 111–137. Pioneering work on CDA market mechanism.