Kinematics of stock prices