Suppose participants in a financial market adopt either a "fundamentalist" or "chartist" trading strategy based on the historical, risk-adjusted profitability of each strategy. Fundamentalists bet that price will adjust (at a speed determined by the "speed-of-adjustment parameter") towards a value justified by economic fundamentals (the "fundamental value", assumed to follow a random walk). Chartists bet that price will follow its historical trend, such that a percentage (determined by the "extrapolation parameter") of the previous period's price movement will occur again. This Demonstration shows how deviations of price from fundamental value ("bubbles") are affected by the parameters of the trading strategy and the stochastic nature of the model.