Stock markets have seen volatile trading in recent weeks, as investors try to keep on top of the news flow.