Investigating timing and impact of news on the stock market