The global economy may be facing a new round of trouble, but you wouldn’t know it by looking at last month’s returns for the major asset classes. The gains fell well short of June’s rally, but there was no mistaking the across-the-board rise in asset prices in July.