This year has seen some big swings in markets, with both sharp falls and record highs, driven by a number of key stories.