In 1841 Charles Mackay published the classic, original book on stock market bubbles and the psychology behind them with “Extraordinary Popular Delusions and the Madness of Crowds”.
And yet several years later he still lost a fortune speculating during the Railway Mania bubble.