We analyze the relation between stock market liquidity and real-time measures of sentiment obtained from the social-media platforms StockTwits and Twitter. Linear regression analysis shows that extreme sentiment corresponds to higher demand and lower supply of liquidity, with negative sentiment...