A theory of fluctuations in stock prices