<p>Overseas purchases of US equities topped $940bn in the year to July, coinciding with strong gains in the S&amp;P 500</p>