Financial Market Microstructure ABM Model
How do heterogeneous trading strategies, leverage constraints, and order-book mechanics generate the statistical regularities of financial markets - volatility clustering, fat-tailed returns, flash crashes, and liquidity spirals - from the bottom up?
Graph workspace
Multi-panel time-series with return distribution sidebar
Market microstructure ABMs produce stochastic price paths alongside return distributions with fat tails. The canonical visualization pairs a price-series panel with a log-log return histogram that reveals the power-law tail, plus a volatility panel showing clustering. This makes the connection between trader heterogeneity and aggregate statistical regularities visible in one view.
Current results
Market Price
Current market price from order flow. Deviations from the fundamental reflect the net influence of chartists, noise, and leverage-driven flows.
100.03
price level
Return Kurtosis
Raw (not excess) kurtosis of the return distribution - the Gaussian benchmark is 3, so values above 3 indicate fat tails. Empirical financial returns typically show kurtosis of 5-20 at daily frequency.
35.18
dimensionless
Volatility Autocorrelation
First-order autocorrelation of absolute returns. Positive values indicate volatility clustering. Empirical values are typically 0.2-0.4 at daily frequency.
0.3952
correlation
Chartist Fraction
Current fraction of traders using chartist strategies. High values signal trend-following dominance and increased crash risk.
0.4333
fraction
Controls
Intensity of choice: 1
How quickly traders abandon a strategy for whichever one made money recently.
A higher produces more pronounced regime switching between fundamentalist and chartist dominance, amplifying boom-bust oscillations and increasing kurtosis.
How hard value-minded traders trade when the price strays from what they think it's worth.
A higher compresses price deviations from fundamental, reduces volatility, and thins the return distribution tails.
Chartist aggressiveness: 0.08
How strongly trend-following traders act on recent price direction.
A higher amplifies trends, produces wider price swings around the fundamental, and increases autocorrelation in absolute returns.
Margin call threshold: 10
How stretched a borrowing trader can get before being forced to sell holdings.
Lower threshold triggers more forced liquidations, producing fatter return tails and occasional flash-crash-like price drops.
Order book depth: 50
How much buying or selling a calm market absorbs before the price moves; stress thins it.
Lower depth makes the price more sensitive to order imbalances, amplifying all effects (trends, reversions, and fire-sale cascades).