Investors pour money into emerging markets at near-record rate