Investors are turning to gold and US government bonds as stock markets go through a difficult patch