Optimal Stopping in the Stock Market