We propose a stock market model with chartists, fundamentalists and market makers. Chartists chase stock price trends, fundamentalists bet on mean reversion, and market makers adjust stock prices to reflect current excess demand. Fundamentalists’ perception of the stock market’s fundamental value is subject to animal spirits. As long as the stock market is relatively stable, fundamentalists neutrally believe in a normal fundamental value. However, fundamentalists optimistically (pessimistically) believe in a high (low) fundamental value when the stock market rises (falls) sharply. Our framework may produce boom-bust stock market dynamics that coevolve with waves of optimism and pessimism for parameter settings that would ensure globally stable stock market dynamics in the absence of animal spirits. Responsible for such a surprising outcome is the destabilizing nature of temporarily attracting virtual fixed points, brought about by animal spirits.