Big US funds gorged on tech stocks and gold in second quarter