Measuring and Predicting Liquidity in the Stock Market